Skip to content

Instantly share code, notes, and snippets.

@visualjeff
Last active July 11, 2019 22:43
Show Gist options
  • Save visualjeff/ba6ebac7c80572046f02b879edd24789 to your computer and use it in GitHub Desktop.
Save visualjeff/ba6ebac7c80572046f02b879edd24789 to your computer and use it in GitHub Desktop.
Example URL's for different types of Azure Authentication
For non-interactive login:
For a v2 Token:
https://login.microsoftonline.com/<<TENANT_NAME>>.onmicrosoft.com/oauth2/v2.0/authorize?response_type=id_token&scope=openid%20profile&client_id=<<CLIENT_ID>>&redirect_uri=https%3A%2F%2Fjwt.ms&nonce=null
For a v1 Token:
https://login.microsoftonline.com/common/oauth2/authorize?client_id=<<CLIENT ID>>&response_type=id_token&nonce=null
For an interactive login (if you need to set an initial password) for B2C:
For a v2 Token:
https://<<TENANT_NAME>>.b2clogin.com/<<TENANT_NAME>>.onmicrosoft.com/oauth2/authresp
For a v1 Token:
https://login.b2clogin.com/common/oauth2/authorize?client_id=<<CLIENT_ID>>&response_type=id_token&nonce=null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment