Skip to content

Commit bad5aa4

Browse files
authored
Update azure-active-directory-b2c.md (#609)
Make it very explicit that the redirectUrl must end with a slash
1 parent e3d8c37 commit bad5aa4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
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/', // the redirectUrl must end with a slash
1010
scopes: ['openid', 'offline_access']
1111
};
1212

@@ -17,4 +17,4 @@ const authState = await authorize(config);
1717
const refreshedState = await refresh(config, {
1818
refreshToken: authState.refreshToken,
1919
});
20-
```
20+
```

0 commit comments

Comments
 (0)