mirror of
https://github.com/plankanban/planka.git
synced 2025-12-17 17:23:25 +03:00
@@ -24,8 +24,13 @@ module.exports = {
|
|||||||
try {
|
try {
|
||||||
const tokenSet = await client.callback(
|
const tokenSet = await client.callback(
|
||||||
sails.config.custom.oidcRedirectUri,
|
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);
|
userInfo = await client.userinfo(tokenSet);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user