Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

identity-auth | OAuth token verifier #1037

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions libs/@guardian/identity-auth/src/@types/OAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ export interface OAuthUrls {
authorizeUrl: `${IdentityAuthOptions['issuer']}/v1/authorize`;
tokenUrl: `${IdentityAuthOptions['issuer']}/v1/token`;
keysUrl: `${IdentityAuthOptions['issuer']}/v1/keys`;
userinfoUrl: `${IdentityAuthOptions['issuer']}/v1/userinfo`;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion libs/@guardian/identity-auth/src/@types/Token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export interface JWTHeader {
/**
* The payload of a JWT.
*
* Set up as a partial type so that we can use it for the access token and ID token, as we don't
* Set up as a generic type so that we can use it for the access token and ID token, as we don't
* know exactly which claims will be in each, and will be returned from the server, until we
* validate and decode the token.
*/
Expand Down
Loading
Loading