It would be B if the B line would say the following:
Exchange authorization codes for tokens by using the authentication server.
https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow
A. Use authorization codes to access protected resources when approved:
Explanation:
This step is crucial in the OAuth2 authorization code grant flow. After the client receives an authorization code, it exchanges this code for an access token, which is then used to access protected resources. The access token represents the user’s authorization to access specific resources.
A. Use authorization codes to access protected resources when approved.
The three-legged OAuth2 authorization code grant flow generally involves these steps:
The client (usually a web browser) requests authorization from the resource owner (usually by directing them to an authorization server with a request for access).
Once the resource owner authorizes the request, the authorization server redirects the client back to the application with an authorization code.
The client then exchanges this authorization code for an access token by making a request to the authorization server.
The access token is then used by the client to access the protected resources. So, the authorization codes are used to access protected resources when approved.
Option A is not correct because in the three-legged OAuth2 authorization code grant flow, the authorization code is used to obtain an access token, which is then used to access protected resources. The authorization code itself is not used to access resources directly; it is an intermediary step in the process.
This section is not available anymore. Please use the main Exam Page.350-901 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Daimon336
7 months, 2 weeks agoe7bd289
1 year agodoble_h
1 year, 4 months agoAmycert
9 months ago1a63556
1 year, 5 months agodkhenderson2
1 year, 1 month agorazvan999
1 year, 6 months ago