Skip to content

Commit 2348719

Browse files
authored
Merge pull request #519 from AnnaBlackwell/docs/380-redirect-url-trailing-slash-in-azure-ad
Add trailing slash to redirectUrl in example Azure AD configuration
2 parents 95d7da9 + 1a08a7b commit 2348719

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/config-examples/azure-active-directory-b2c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Detailed documentation [here](https://docs.microsoft.com/en-us/azure/active-dire
66
const config = {
77
issuer: 'https://<TENANT_NAME>.b2clogin.com/<TENANT_NAME>.onmicrosoft.com/<USER_FLOW_NAME>/v2.0',
88
clientId: '<APPLICATION_ID>',
9-
redirectUrl: 'com.myapp://redirect/url',
9+
redirectUrl: 'com.myapp://redirect/url/',
1010
scopes: ['openid', 'offline_access']
1111
};
1212

docs/config-examples/azure-active-directory.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Please Note:
1919
const config = {
2020
issuer: 'https://login.microsoftonline.com/your-tenant-id',
2121
clientId: 'your-client-id',
22-
redirectUrl: 'com.myapp://oauth/redirect',
22+
redirectUrl: 'com.myapp://oauth/redirect/',
2323
additionalParameters: {
2424
resource: 'your-resource'
2525
}
@@ -42,7 +42,7 @@ The V2 endpoint follows the standard OAuth protocol with scopes. Detailed docume
4242
const config = {
4343
issuer: 'https://login.microsoftonline.com/your-tenant-id/v2.0',
4444
clientId: 'your-client-id',
45-
redirectUrl: 'com.myapp://oauth/redirect',
45+
redirectUrl: 'com.myapp://oauth/redirect/',
4646
scopes: ['openid', 'profile', 'email', 'offline_access']
4747
};
4848

0 commit comments

Comments
 (0)