wikijs-fork/server
Dan Nicholson d5d368cd33
feat: fix + enable OIDC auth method (#2282)
* 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
2020-08-15 13:32:58 -04:00
..
app feat: enforce 2fa admin setting + hide local on login screen 2020-07-05 23:55:11 -04:00
controllers fix: change language in edit, history and source pages (#2194) 2020-07-29 19:54:31 -04:00
core fix: token renewal date 2020-07-05 14:16:16 -04:00
db misc: knex update for mssql constraint bug 2020-07-11 16:53:18 -04:00
graph fix: resolve tags on pages in GraphQL (#2247) 2020-08-09 20:04:44 -04:00
helpers feat: edit comment 2020-05-31 18:15:15 -04:00
jobs feat: browse nav + pageTree ancestors 2020-04-18 18:33:22 -04:00
locales feat: load dev locale files 2019-02-09 12:34:27 -05:00
middlewares fix: admin security UI 2020-05-30 16:42:48 -04:00
models fix: foreign key constraint when page have comments (#2199) 2020-07-29 19:39:47 -04:00
modules feat: fix + enable OIDC auth method (#2282) 2020-08-15 13:32:58 -04:00
templates feat: admin mail - send test email 2019-06-08 00:07:30 -04:00
test/helpers fix: Switch converted to Object Literal (#940) 2019-08-04 16:31:13 -04:00
themes/default feat: admin edit user (wip) 2019-08-11 23:26:29 -04:00
views feat: login bg + bypass + hide local option 2020-07-05 01:36:02 -04:00
index.js fix: revalidate tokens created prior to server startup 2020-06-25 22:04:21 -04:00
master.js feat: use asar for twemoji assets 2020-05-24 18:02:05 -04:00
setup.js feat: new login experience (#2139) 2020-07-03 19:36:33 -04:00