Update oauth.js
This commit is contained in:
@@ -154,10 +154,10 @@ const tokenRequest = async ({
|
|||||||
}) => {
|
}) => {
|
||||||
// Check oauth configuration
|
// Check oauth configuration
|
||||||
if (oidcDiscoveryUrl !== "") {
|
if (oidcDiscoveryUrl !== "") {
|
||||||
const { authorizationEndpoint, tokenEndpoint } =
|
const { authorization_endpoint, token_endpoint } =
|
||||||
await getTokenConfiguration(oidcDiscoveryUrl)
|
await getTokenConfiguration(oidcDiscoveryUrl)
|
||||||
authUrl = authorizationEndpoint
|
authUrl = authorization_endpoint
|
||||||
accessTokenUrl = tokenEndpoint
|
accessTokenUrl = token_endpoint
|
||||||
}
|
}
|
||||||
|
|
||||||
// Store oauth information
|
// Store oauth information
|
||||||
|
|||||||
Reference in New Issue
Block a user