You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/gen1/[platform]/build-a-backend/auth/add-social-provider/index.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -739,9 +739,9 @@ function App() {
739
739
</Block>
740
740
</BlockSwitcher>
741
741
742
-
### Redirect URLs
742
+
### Redirect URIs
743
743
744
-
You can provide multiple _Sign in Redirect URI(s)_ & _Sign out redirect URI(s)_.
744
+
You can provide multiple _Sign in_ & _Sign out_ redirect URI(s).
745
745
746
746
If you have multiple redirect URI inputs, you'll need to pass them in your Amplify configuration. For example:
747
747
@@ -767,7 +767,7 @@ Amplify.configure({
767
767
});
768
768
```
769
769
770
-
#### Option to specify a redirect URL upon signOut
770
+
#### Specifying a redirect URI on sign out
771
771
If you have multiple redirect urls configured, you may choose to override the default behavior of selecting a redirect url and provide the one of your choosing when calling `signOut`. The provided redirect url should match at least one of the configured redirect urls. If no redirect url is provided to `signOut`, the first item from the the configured redirect urls list that does not contain a http nor https prefix will be picked.
<Callout> Irrespective of whether a `redirectUrl` is provided to the `signOut`, an item that does not contain a http or https string is expected to be present in the configured redirect urls list. This is because iOS requires we provide an appScheme when creating the web session. </Callout>
808
+
<Callout> Irrespective of whether a `redirectUrl` is provided to `signOut`, a URL that does not contain http or https is expected to be present in the configured redirect URL list. This is because iOS requires an appScheme when creating the web session. </Callout>
For _Sign in Redirect URI(s)_ inputs, you can put one URI for local development and one for production. Example: `http://localhost:3000/` in dev and `https://www.example.com/` in production. The same is true for _Sign out redirect URI(s)_.
816
+
For _Sign in Redirect URI(s)_ inputs, you can put one URI for local development and one for production. Example: `http://localhost:3000/` in dev and `https://www.example.com/` in production. The same is true for _Sign out Redirect URI(s)_.
817
817
818
818
If you have multiple redirect URI inputs, you'll need to pass them in your Amplify configuration. For example:
819
819
@@ -1011,7 +1011,7 @@ function App() {
1011
1011
1012
1012
</Accordion>
1013
1013
1014
-
#### Option to specify a redirect URL upon signOut
1014
+
#### Specifying a redirect URI on sign out
1015
1015
If you have multiple redirect urls configured, you may choose to override the default behavior of selecting a redirect url and provide the one of your choosing when calling `signOut`. The provided redirect url should match at least one of the configured redirect urls. If no redirect url is provided to `signOut`, one will be selected based on the current app domain.
0 commit comments