Skip to main content

OAuthAuthorizationRequest

@webda/auth


Interface: OAuthAuthorizationRequest

Defined in: packages/auth/src/oauth/oauth.service.ts:51

Parameters of an authorization request

Properties​

codeChallenge​

codeChallenge: string

Defined in: packages/auth/src/oauth/oauth.service.ts:59

PKCE code challenge (base64url SHA-256 of the verifier)


codeChallengeMethod​

codeChallengeMethod: "S256"

Defined in: packages/auth/src/oauth/oauth.service.ts:61

PKCE method


nonce​

nonce: string

Defined in: packages/auth/src/oauth/oauth.service.ts:63

OpenID Connect nonce: the ID token of the callback must carry it


redirectUri​

redirectUri: string

Defined in: packages/auth/src/oauth/oauth.service.ts:55

Callback url


scope​

scope: string[]

Defined in: packages/auth/src/oauth/oauth.service.ts:57

Scopes to request


state​

state: string

Defined in: packages/auth/src/oauth/oauth.service.ts:53

Random state to send back on the callback