Skip to content

Commit f644e2e

Browse files
chore: convert URI to URL
1 parent 188d514 commit f644e2e

File tree

2 files changed

+15
-15
lines changed
  • src/pages
    • [platform]/build-a-backend/auth/concepts/external-identity-providers
    • gen1/[platform]/build-a-backend/auth/add-social-provider

2 files changed

+15
-15
lines changed

src/pages/[platform]/build-a-backend/auth/concepts/external-identity-providers/index.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -387,11 +387,11 @@ await signInWithRedirect({
387387
});
388388
```
389389

390-
### Redirect URIs
390+
### Redirect URLs
391391

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)_.
393393

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:
395395

396396
```javascript
397397
Amplify.configure({
@@ -416,7 +416,7 @@ Amplify.configure({
416416
});
417417
```
418418

419-
#### Specifying a redirect URI on sign out
419+
#### Specifying a redirect URL on sign out
420420
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.
421421

422422
```ts
@@ -519,9 +519,9 @@ function handleSignInWithRedirect() {
519519

520520
```
521521

522-
### Redirect URIs
522+
### Redirect URLs
523523

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:
525525

526526
```javascript
527527
Amplify.configure({
@@ -545,7 +545,7 @@ Amplify.configure({
545545
});
546546
```
547547

548-
#### Specifying a redirect URI on sign out
548+
#### Specifying a redirect URL on sign out
549549
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.
550550

551551
```ts

src/pages/gen1/[platform]/build-a-backend/auth/add-social-provider/index.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -739,9 +739,9 @@ function App() {
739739
</Block>
740740
</BlockSwitcher>
741741
742-
### Redirect URIs
742+
### Redirect URLs
743743
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:
745745
746746
```javascript
747747
Amplify.configure({
@@ -765,7 +765,7 @@ Amplify.configure({
765765
});
766766
```
767767
768-
#### Specifying a redirect URI on sign out
768+
#### Specifying a redirect URL on sign out
769769
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.
770770
771771
```ts
@@ -809,11 +809,11 @@ function handleSignOut() {
809809
810810
<InlineFilter filters={["javascript", "angular", "nextjs", "react", "vue"]}>
811811
812-
### Redirect URIs
812+
### Redirect URLs
813813
814-
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)_.
815815

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:
817817
818818
```javascript
819819
Amplify.configure({
@@ -838,7 +838,7 @@ Amplify.configure({
838838
});
839839
```
840840
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'>
842842
843843
<BlockSwitcher>
844844
<Block name="TypeScript">
@@ -1009,7 +1009,7 @@ function App() {
10091009
10101010
</Accordion>
10111011
1012-
#### Specifying a redirect URI on sign out
1012+
#### Specifying a redirect URL on sign out
10131013
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.
10141014
10151015
```ts

0 commit comments

Comments
 (0)