Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve documentation for App Registration regarding multi-tenant configuration #40

Open
serverless-me opened this issue Dec 1, 2020 · 0 comments · Fixed by #17
Open
Assignees
Labels
enhancement New feature or request

Comments

@serverless-me
Copy link

Sample

tab-aad-msal2

Authors

@BobGerman

Suggestion (the more details, the better)

App Registration

Please add the following detail to the documentation

  • SPA Redirect URI (not Web Redirect URI)
  • no implicit grant
  • optional: select the multi-tenant option

SPA-MSAL-Config

Code Changes

For the multi-tenant configuration, the following changes are required:

  • use the common endpoint in the Config.js instead of the tenant ID
    export const authority = "https://login.microsoftonline.com/common";

  • to the request I added the extraQueryParameters: {domain_hint: 'organizations'}
    this.request = { scopes: ["user.read"], extraQueryParameters: {domain_hint: 'organizations'} }

@serverless-me serverless-me added the enhancement New feature or request label Dec 1, 2020
@BobGerman BobGerman self-assigned this Jan 4, 2021
@BobGerman BobGerman linked a pull request Jan 15, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants