fix: Add issuer to OIDC callback parameters

Closes #562
pull/568/head
Maksim Eltyshev 2 years ago
parent 80d12aaeeb
commit 28c3f28e01

@ -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) {

Loading…
Cancel
Save