wikijs-fork/server/modules
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
..
analytics fix: matomo module siteId 2020-06-26 15:34:53 -04:00
authentication feat: fix + enable OIDC auth method (#2282) 2020-08-15 13:32:58 -04:00
comments feat: edit comment 2020-05-31 18:15:15 -04:00
editor
extensions feat: extensions check + resolver 2020-05-21 00:20:57 -04:00
logging
rendering feat: diagram rendering + post-processor (wip) 2020-07-12 15:58:45 -04:00
search fix: elasticsearch partial match (#1882) 2020-05-13 19:32:28 -04:00
storage fix: stream assets from storage local locations (#2087) 2020-07-12 12:19:01 -04:00