Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Commit 8d9d75b

Browse files
jaxoncreeddmitrizagidulin
authored andcommitted
Added steps for clarification
1 parent 06c3726 commit 8d9d75b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

ApplicationWorkflow.png

3.39 KB
Loading

application-workflow-detailed.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,13 +467,18 @@ A request should be made to url in the `sub` field of the id_token (The user's P
467467

468468
Compare the issuer retrieved in step 5 with the issuer of the id token. If they are not identical the RS must reject the request with a 403.
469469

470-
#### 7. Requests public keys
470+
#### 7. Retrieves OP Configuration
471471

472-
Now that we've confirmed the validity of the pop_token and the subject of the identity token, we want to ensure the validity of the id_token it contains. To do so, we need the OP's public keys. The OP's address can be obtained via the `iss` field of the id_token (https://secureauth.example). Recall how to retrieve the OP's public keys in steps 3, 4, 7, and 8 of the authorization instructions.
472+
Before the RS requests information from the thrid-party OP, it must retrieve its configuration. The OP's address can be obtained via the `iss` field of the id_token (https://secureauth.example). Recall how to retrieve the OP's configuration in steps 3 and 4 of the authroization instructions.
473473

474474
```
475475
GET https://secureauth.example/.well-known/openid-configuration
476476
```
477+
478+
#### 7. Requests public keys
479+
480+
Now that we've confirmed the validity of the pop_token and the subject of the identity token, we want to ensure the validity of the id_token it contains. To do so, we need the OP's public keys. The route to retrieve the public keys is listed in the OP Configuration fetched in the previous step. Recall how to retrieve the OP's public keys in steps 7, and 8 of the authorization instructions.
481+
477482
```
478483
GET https://secureauth.example/jwks
479484
```

0 commit comments

Comments
 (0)