A - This happens earlier in the flow, before authz server presents form to grant access.
B - Definitely not
C - Happens later in the flow.
D - Correct answer.
Kudos to Johnno26 for the link which has every step word for word!
Option D is a obious result, the owner will submit something, but the questions says what happen after, so after the owner respond the AuthServer will redirect to the client sending the authorization code
A user, as the resource owner, initiates a request to the OAuth client.
The OAuth client sends the resource owner a redirection to the authorization server.
The resource owner authenticates and optionally authorizes with the authorization server.
The authorization server presents a form to the resource owner to grant access.
The resource owner submits the form to allow or to deny access.
Based on the response from the resource owner, the following processing occurs:
If the resource owner allows access, the authorization server sends the OAuth client a redirection with the authorization grant code or the access token.
If the resource owner denies access, the request is redirected to the OAuth client but no grant is provided.
The other options are incorrect. Option A is incorrect because the resource owner does not authenticate with the authorization server in this step. Option B is incorrect because the user who owns the resource does not initiate a request to the OAuth client in this step. Option D is incorrect because the owner of the resource does not submit a form to allow or restrict access in this step.
Option D is incorrect because it mentions a form being submitted by the owner of the resource to allow or restrict access. While the resource owner may provide consent through a form, the submission of the form is not the next step after the authorization server presents the form. The next step is the resource owner authenticating and optionally authorizing with the authorization server.
D is correct
1. A user, as the resource owner, initiates a request to the OAuth client.
2. The OAuth client sends the resource owner a redirection to the authorization server.
3. The resource owner authenticates and optionally authorizes with the authorization server.
4. The authorization server presents a form to the resource owner to grant access.
5. The resource owner submits the form to allow or to deny access.
6. Based on the response from the resource owner, the following processing occurs:
A) If the resource owner allows access, the authorization server sends the OAuth client a redirection with the authorization grant code or the access token.
B) If the resource owner denies access, the request is redirected to the OAuth client but no grant is provided.
7. The OAuth client sends the following information to the token endpoint (authorization server).
-Authorization grant code
-Client ID
-Client secret or client certificate
8. If verified, the authorization server sends the OAuth client an access token and optionally a refresh token.
9. The OAuth client sends the access token to the resource server to request protected resources.
10. If the access token is valid for the requested resources, the OAuth client can access the protected resources.
Maybe C is correct
"If the resource owner grants access, the authorization server redirects the user's browser back to the client using the redirection URI provided earlier (in the request or during client (registration). The redirection URI includes an authorization code and any local state provided by the client earlier"
"Assuming the resource owner grants access, the authorization server redirects the user-agent back to the client using the redirection URI provided earlier (in the request or during client (registration). The redirection URI includes an authorization code and any local state provided by the client earlier."
upvoted 3 times
...
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.
Johnno26
Highly Voted 2 years agopython_tamer
Highly Voted 1 year, 11 months agosamael666
Most Recent 3 weeks agoisaacmejia
2 months agodoble_h
2 months agojohntermlen
5 months, 3 weeks agovrossa
7 months, 1 week agoTeringzooi
1 year, 3 months agodesignated
1 year, 5 months agodesignated
1 year, 5 months agorhmgh
1 year, 12 months ago