1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00

fix: Add issuer to OIDC callback parameters

Closes #562
This commit is contained in:
Maksim Eltyshev 2023-12-09 16:28:24 +01:00
parent 92e9ddde9e
commit 8018b74038

View file

@ -24,8 +24,13 @@ module.exports = {
try {
const tokenSet = await client.callback(
sails.config.custom.oidcRedirectUri,
{ code: inputs.code },
{ nonce: inputs.nonce },
{
iss: sails.config.custom.oidcIssuer,
code: inputs.code,
},
{
nonce: inputs.nonce,
},
);
userInfo = await client.userinfo(tokenSet);
} catch (e) {