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
2
Q
What are the four variations of the tenant identifier?
A
common
organization
consumers
- Tenant ID or {tenantname}.onmicrosoft.com
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
4
Q
What are the steps involved in the authorisation code flow?
A
- Client prepares an Authentication Request containing the desired request parameters.
- Client sends the request to the Authorization Server.
- Authorization Server Authenticates the End-User.
- Authorization Server obtains End-User Consent/Authorization.
- Authorization Server sends the End-User back to the Client with an Authorization Code.
- Client requests a response using the Authorization Code at the Token Endpoint.
- Client receives a response that contains an ID Token and Access Token in the response body.
- Client validates the ID token and retrieves the End-User’s Subject Identifier.
5
Q
What are the two endpoints involved in the Authorisation code flow?
A
- Authorization Endpoint (/authorize)
- Token Endpoint (/token)
6
Q
A