mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-23 13:26:41 +00:00
fix redirect bug for some accounts when disable create org is enabled
This commit is contained in:
@@ -162,6 +162,12 @@ export async function validateOidcCallback(
|
||||
);
|
||||
}
|
||||
|
||||
logger.debug("State verified", {
|
||||
urL: ensureTrailingSlash(existingIdp.idpOidcConfig.tokenUrl),
|
||||
expectedState,
|
||||
state
|
||||
});
|
||||
|
||||
const tokens = await client.validateAuthorizationCode(
|
||||
ensureTrailingSlash(existingIdp.idpOidcConfig.tokenUrl),
|
||||
code,
|
||||
|
||||
Reference in New Issue
Block a user