• Dan Nicholson's avatar
    feat: fix + enable OIDC auth method (#2282) · d5d368cd
    Dan Nicholson authored
    * fix: pass userinfo URL in oidc strategy
    
    The userinfo URL from the definition was not being provided to the
    passport strategy, which resulted in a type error trying to resolve the
    user's profile. Furthermore, the name of the defined URL was
    inconsistent with all other authentication method URLs.
    
    * fix: pass all necessary scopes to oidc auth method
    
    When no scopes are provided, passport-openidconnect uses only `openid`,
    which does not contain the username or email address. Include `profile`
    and `email` to ensure the necessary claims are included.
    
    * fix: update oidc method to call processProfile correctly
    
    Now the profile object and providerKey are passed to processProfile. The
    usernameClaim no longer has any use as the email address is the
    username.
    
    * fix: mark oidc authentication method as available
    d5d368cd
Name
Last commit
Last update
.devcontainer Loading commit data...
.github Loading commit data...
.runme Loading commit data...
.vscode Loading commit data...
client Loading commit data...
dev Loading commit data...
server Loading commit data...
.babelrc Loading commit data...
.editorconfig Loading commit data...
.eslintignore Loading commit data...
.eslintrc.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.npmrc Loading commit data...
.nvmrc Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
config.sample.yml Loading commit data...
cypress.json Loading commit data...
package.json Loading commit data...
sonar-project.properties Loading commit data...
yarn.lock Loading commit data...