Skip to content

Commit 585220b

Browse files
Support Organization Name (#453)
1 parent 13ecc76 commit 585220b

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

EXAMPLES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ AuthModule.forRoot({
328328
domain: 'YOUR_AUTH0_DOMAIN',
329329
clientId: 'YOUR_AUTH0_CLIENT_ID',
330330
authorizationParams: {
331-
organization: 'YOUR_ORGANIZATION_ID'
331+
organization: 'YOUR_ORGANIZATION_ID_OR_NAME'
332332
}
333333
}),
334334
```
@@ -339,14 +339,14 @@ You can also specify the organization when logging in:
339339
// Using a redirect
340340
this.auth.loginWithRedirect({
341341
authorizationParams: {
342-
organization: 'YOUR_ORGANIZATION_ID'
342+
organization: 'YOUR_ORGANIZATION_ID_OR_NAME'
343343
}
344344
});
345345

346346
// Using a popup window
347347
this.auth.loginWithPopup({
348348
authorizationParams: {
349-
organization: 'YOUR_ORGANIZATION_ID'
349+
organization: 'YOUR_ORGANIZATION_ID_OR_NAME'
350350
}
351351
});
352352
```

package-lock.json

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@angular/platform-browser": "^13.3.11",
3535
"@angular/platform-browser-dynamic": "^13.3.11",
3636
"@angular/router": "^13.3.11",
37-
"@auth0/auth0-spa-js": "^2.0.0",
37+
"@auth0/auth0-spa-js": "^2.1.0",
3838
"rxjs": "^6.6.7",
3939
"tslib": "^2.4.1",
4040
"zone.js": "~0.11.8"

0 commit comments

Comments
 (0)