Skip to content

Commit 4a199ef

Browse files
author
Kadi Kraman
committed
Update azure docs to remove deprecated redirect url suggestion
1 parent 4965526 commit 4a199ef

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,14 @@ See the [Azure docs on requesting an access token](https://docs.microsoft.com/en
1212

1313
Please Note:
1414

15-
* The [Azure docs](https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-protocols-oauth-code#request-an-authorization-code) recommend `'urn:ietf:wg:oauth:2.0:oob'` as the `redirectUrl`.
1615
* `Scopes` is ignored.
1716
* `additionalParameters.resource` may be required based on the tenant settings.
1817

1918
```js
2019
const config = {
2120
issuer: 'https://login.microsoftonline.com/your-tenant-id',
2221
clientId: 'your-client-id',
23-
redirectUrl: 'urn:ietf:wg:oauth:2.0:oob',
22+
redirectUrl: 'com.myapp://oauth/redirect',
2423
additionalParameters: {
2524
resource: 'your-resource'
2625
}
@@ -43,7 +42,7 @@ The V2 endpoint follows the standard OAuth protocol with scopes. Detailed docume
4342
const config = {
4443
issuer: 'https://login.microsoftonline.com/your-tenant-id/v2.0',
4544
clientId: 'your-client-id',
46-
redirectUrl: 'urn:ietf:wg:oauth:2.0:oob',
45+
redirectUrl: 'com.myapp://oauth/redirect',
4746
scopes: ['openid', 'profile', 'email', 'offline_access']
4847
};
4948

0 commit comments

Comments
 (0)