mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-15 16:55:05 +00:00
feat: add option to OIDC client to require re-authentication (#747)
Co-authored-by: Kyle Mendell <kmendell@ofkm.us> Co-authored-by: Elias Schneider <login@eliasschneider.com>
This commit is contained in:
@@ -19,7 +19,8 @@ class OidcService extends APIService {
|
||||
callbackURL: string,
|
||||
nonce?: string,
|
||||
codeChallenge?: string,
|
||||
codeChallengeMethod?: string
|
||||
codeChallengeMethod?: string,
|
||||
reauthenticationToken?: string
|
||||
) {
|
||||
const res = await this.api.post('/oidc/authorize', {
|
||||
scope,
|
||||
@@ -27,7 +28,8 @@ class OidcService extends APIService {
|
||||
callbackURL,
|
||||
clientId,
|
||||
codeChallenge,
|
||||
codeChallengeMethod
|
||||
codeChallengeMethod,
|
||||
reauthenticationToken
|
||||
});
|
||||
|
||||
return res.data as AuthorizeResponse;
|
||||
|
||||
Reference in New Issue
Block a user