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/[platform]/build-a-backend/auth/concepts/external-identity-providers/index.mdx
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -387,11 +387,11 @@ await signInWithRedirect({
387
387
});
388
388
```
389
389
390
-
### Redirect URIs
390
+
### Redirect URLs
391
391
392
-
For _Sign in Redirect URI(s)_ inputs, you can set one URI for local development and one for production. For example: `http://localhost:3000/` in dev and `https://www.example.com/` in production. The same is true for _Sign out Redirect URI(s)_.
392
+
For _Sign in Redirect URL(s)_ inputs, you can set one URL for local development and one for production. For example: `http://localhost:3000/` in dev and `https://www.example.com/` in production. The same is true for _Sign out Redirect URL(s)_.
393
393
394
-
If you have multiple redirect URIs, you'll need to pass them in your Amplify configuration. For example:
394
+
If you have multiple redirect URLs, you'll need to pass them in your Amplify configuration. For example:
395
395
396
396
```javascript
397
397
Amplify.configure({
@@ -416,7 +416,7 @@ Amplify.configure({
416
416
});
417
417
```
418
418
419
-
#### Specifying a redirect URI on sign out
419
+
#### Specifying a redirect URL on sign out
420
420
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.
421
421
422
422
```ts
@@ -519,9 +519,9 @@ function handleSignInWithRedirect() {
519
519
520
520
```
521
521
522
-
### Redirect URIs
522
+
### Redirect URLs
523
523
524
-
If you want to manually configure multiple _Sign in_ & _Sign out_ redirect URI(s), you'll need to pass them in your Amplify configuration. For example:
524
+
If you want to manually configure multiple _Sign in_ & _Sign out_ redirect URL(s), you'll need to pass them in your Amplify configuration. For example:
525
525
526
526
```javascript
527
527
Amplify.configure({
@@ -545,7 +545,7 @@ Amplify.configure({
545
545
});
546
546
```
547
547
548
-
#### Specifying a redirect URI on sign out
548
+
#### Specifying a redirect URL on sign out
549
549
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.
Copy file name to clipboardExpand all lines: src/pages/gen1/[platform]/build-a-backend/auth/add-social-provider/index.mdx
+8-8Lines changed: 8 additions & 8 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 URIs
742
+
### Redirect URLs
743
743
744
-
If you want to manually configure multiple _Sign in_ & _Sign out_ redirect URI(s), you'll need to pass them in your Amplify configuration. For example:
744
+
If you want to manually configure multiple _Sign in_ & _Sign out_ redirect URL(s), you'll need to pass them in your Amplify configuration. For example:
745
745
746
746
```javascript
747
747
Amplify.configure({
@@ -765,7 +765,7 @@ Amplify.configure({
765
765
});
766
766
```
767
767
768
-
#### Specifying a redirect URI on sign out
768
+
#### Specifying a redirect URL on sign out
769
769
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.
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)_.
814
+
For _Sign in Redirect URL(s)_ inputs, you can set one URL for local development and one for production. For example: `http://localhost:3000/` in dev and `https://www.example.com/` in production. The same is true for _Sign out Redirect URL(s)_.
815
815
816
-
If you have multiple redirect URI inputs, you'll need to pass them in your Amplify configuration. For example:
816
+
If you have multiple redirect URLs, you'll need to pass them in your Amplify configuration. For example:
817
817
818
818
```javascript
819
819
Amplify.configure({
@@ -838,7 +838,7 @@ Amplify.configure({
838
838
});
839
839
```
840
840
841
-
<Accordion title='Full Example using multiple redirect URIs' headingLevel='4' eyebrow='Example'>
841
+
<Accordion title='Full Example using multiple redirect URLs' headingLevel='4' eyebrow='Example'>
842
842
843
843
<BlockSwitcher>
844
844
<Block name="TypeScript">
@@ -1009,7 +1009,7 @@ function App() {
1009
1009
1010
1010
</Accordion>
1011
1011
1012
-
#### Specifying a redirect URI on sign out
1012
+
#### Specifying a redirect URL on sign out
1013
1013
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