Skip to content

Commit

Permalink
Remove outdated client library reference (#151)
Browse files Browse the repository at this point in the history
* Remove outdated client library references

* Removed outdated client library reference
  • Loading branch information
elenaschwan authored Jan 19, 2024
1 parent a350998 commit 6b6614f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ review_in: 6 months

To get an access token which will allow you to access basic user information, you’ll need to integrate with [OAuth’s Authorization Code Flow](https://openid.net/specs/openid-connect-core-1_0.html).

We recommend you [use a certified OpenID Connect (OIDC) client library](https://openid.net/developers/certified/) rather than building your own.

## Use the discovery endpoint

You can use the [discovery endpoint][external.oidc-discovery] to get information needed to interact with GOV.UK One Login, for example:
Expand Down Expand Up @@ -86,7 +84,7 @@ Host: oidc.integration.account.gov.uk

#### Create a URL-encoded JSON object for `<claims-request>`

After you’ve made a request for authentication and identity, you should then [use a certified OIDC client library](https://openid.net/developers/certified/) to create a URL-encoded JSON object for ``<claims-request>``. Your JSON object should look similar to this example:
After you’ve made a request for authentication and identity, you should then create a URL-encoded JSON object for ``<claims-request>``. Your JSON object should look similar to this example:

```
{
Expand Down
2 changes: 0 additions & 2 deletions source/use-sample-reference-material.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ You can use sample reference material to see an example of how to use Authorizat

<%= warning_text('You should not use the sample reference material in the production environment.') %>

We recommend you [use a certified OIDC client library](https://openid.net/developers/certified/) rather than building your own.

## View Java sample reference material

You can [refer to the sample reference material if you’re using Java to integrate your service to use GOV.UK One Login](https://github.com/alphagov/di-auth-stub-relying-party).
Expand Down

0 comments on commit 6b6614f

Please sign in to comment.