Skip to content

Commit

Permalink
Merge pull request #247 from govuk-one-login/tech-docs-fixes
Browse files Browse the repository at this point in the history
Tech docs fixes
  • Loading branch information
PippaClarkGDS authored Aug 16, 2024
2 parents 46bc777 + 2e19102 commit 6bb4006
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/tech-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ collapsible_nav: true

# Table of contents depth – how many levels to include in the table of contents.
# If your ToC is too long, reduce this number and we'll only show higher-level headings.
max_toc_heading_level: 2
max_toc_heading_level: 3

# Prevent robots from indexing (e.g. whilst in development)
prevent_indexing: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ Host: oidc.integration.account.gov.uk

If you need to authenticate your user and check their identity, you should send 2 separate requests: one for authentication and one for identity.

1. [Send a request to the `/authorize` endpoint to authenticate your user][integrate.make-authorization-request] specifying the Vector of Trust (vtr) parameter as ["Cl.Cm"].
1. Send a request for identity to the `/authorize` endpoint specifying the Vector of Trust parameter `vtr` as ["Cl.Cm.P2"].
1. [Send a request to the `/authorize` endpoint to authenticate your user][integrate.make-authorization-request] specifying the Vector of Trust (`vtr`) parameter as `Cl.Cm`.
1. Send a request for identity to the `/authorize` endpoint specifying the `vtr` as `Cl.Cm.P2`.

By using 2 separate requests:

Expand Down Expand Up @@ -265,8 +265,8 @@ Your JWT body will look similar to this example:
```
{
"aud":"https://oidc.integration.account.gov.uk/token",
"iss":"38174623762",
"sub":"38174623762",
"iss":"229pcVGuHP1lXX37T7Wfbr5SIgm",
"sub":"229pcVGuHP1lXX37T7Wfbr5SIgm",
"exp":1536165540,
"jti":"RANDOM_VALUE_JTI",
"iat":1536132708
Expand Down

0 comments on commit 6bb4006

Please sign in to comment.