add profile scope
Some checks failed
App Image CI / Build app image (push) Successful in -1m9s
Docker Image CI / Build build images (arch) (push) Successful in -5s
Docker Image CI / Build build images (artix) (push) Successful in -28s
NPM Audit Check / Check NPM audit (push) Failing after -2m10s

This commit is contained in:
2025-09-28 21:47:29 -05:00
parent 2c71563efc
commit abceb07c1a
3 changed files with 5 additions and 4 deletions

View File

@@ -324,7 +324,8 @@ class Web {
userInfoURL: openidconf.userinfo_endpoint,
clientID: options.oidc.clientId,
clientSecret: options.oidc.clientSecret,
callbackURL: `${baseUrl}cb`
callbackURL: `${baseUrl}cb`,
scope: 'profile'
}, async (_: string, profile: passport.Profile, cb: OpenIDConnectStrategy.VerifyCallback) => {
const userObj: User = {
id: profile.id,