OpenID Connect Flashcards

1
Q

What is the OpenID configuration document URI for an Azure ID tenant?

A
https://login.microsoftonline.com/{tenant}/v2.0/.well-known/openid-configuration
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the four variations of the tenant identifier?

A
  • common
  • organization
  • consumers
  • Tenant ID or {tenantname}.onmicrosoft.com
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Give an example of a sign-in request?

A

/authorize

GET https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize?
client_id=6731de76-14a6-49ae-97bc-6eba6914391e
&response_type=id_token
&redirect_uri=http%3A%2F%2Flocalhost%2Fmyapp%2F
&response_mode=form_post
&scope=openid
&state=12345
&nonce=678910
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the steps involved in the authorisation code flow?

A
  1. Client prepares an Authentication Request containing the desired request parameters.
  2. Client sends the request to the Authorization Server.
  3. Authorization Server Authenticates the End-User.
  4. Authorization Server obtains End-User Consent/Authorization.
  5. Authorization Server sends the End-User back to the Client with an Authorization Code.
  6. Client requests a response using the Authorization Code at the Token Endpoint.
  7. Client receives a response that contains an ID Token and Access Token in the response body.
  8. Client validates the ID token and retrieves the End-User’s Subject Identifier.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the two endpoints involved in the Authorisation code flow?

A
  1. Authorization Endpoint (/authorize)
  2. Token Endpoint (/token)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly