Merge pull request #1766 from hughobrien/fix-well-known

fix: bad var names from oauth well.known config
This commit is contained in:
Liyas Thomas
2021-08-07 11:23:49 +05:30
committed by GitHub

View File

@@ -154,10 +154,10 @@ const tokenRequest = async ({
}) => {
// Check oauth configuration
if (oidcDiscoveryUrl !== "") {
const { authorizationEndpoint, tokenEndpoint } =
const { authorization_endpoint, token_endpoint } =
await getTokenConfiguration(oidcDiscoveryUrl)
authUrl = authorizationEndpoint
accessTokenUrl = tokenEndpoint
authUrl = authorization_endpoint
accessTokenUrl = token_endpoint
}
// Store oauth information