mirror of
https://github.com/stonith404/pingvin-share.git
synced 2025-02-19 01:55:48 -05:00
fix: error for non oidc oauth clients
This commit is contained in:
parent
3527dd1dd9
commit
ba2e7e122c
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ export abstract class GenericOidcProvider implements OAuthProvider<OidcToken> {
|
||||||
new URLSearchParams({
|
new URLSearchParams({
|
||||||
client_id: this.config.get(`oauth.${this.name}-clientId`),
|
client_id: this.config.get(`oauth.${this.name}-clientId`),
|
||||||
response_type: "code",
|
response_type: "code",
|
||||||
scope: this.config.get(`oauth.${this.name}-scope`),
|
scope: this.name == "oidc" ? this.config.get(`oauth.oidc-scope`) : "openid email profile",
|
||||||
redirect_uri: this.getRedirectUri(),
|
redirect_uri: this.getRedirectUri(),
|
||||||
state,
|
state,
|
||||||
nonce,
|
nonce,
|
||||||
|
|
Loading…
Add table
Reference in a new issue