In the OAuth Authorization Code Grant Type Flow, how does the client get AUTH CODE?

Prepare for the MuleSoft Developer 2 Certification Exam. Access practice quizzes featuring flashcards and multiple choice questions with explanations. Get confident and ready for your certification success!

Multiple Choice

In the OAuth Authorization Code Grant Type Flow, how does the client get AUTH CODE?

Explanation:
In this flow, the authorization code is created by the Authorization Server after the user has authenticated (and typically consented). The server then redirects the user back to the client with the code in the redirect URI. The client uses that code at the token endpoint to obtain an access token, proving its identity with its credentials. So the authorization server issuing the code after user authentication is the correct mechanism. The other ideas don’t fit: the client does not generate the code; the user does not hand the code directly to the client outside the redirect; and the code isn’t granted after the resource server validates client credentials.

In this flow, the authorization code is created by the Authorization Server after the user has authenticated (and typically consented). The server then redirects the user back to the client with the code in the redirect URI. The client uses that code at the token endpoint to obtain an access token, proving its identity with its credentials. So the authorization server issuing the code after user authentication is the correct mechanism.

The other ideas don’t fit: the client does not generate the code; the user does not hand the code directly to the client outside the redirect; and the code isn’t granted after the resource server validates client credentials.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy