Commit Graph

50 Commits

Author SHA1 Message Date
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
NGPixel
26af63a80b fix: login input hints 2020-07-20 00:22:29 -04:00
NGPixel
be499e5795 fix: auth strategy dependent username label 2020-07-19 13:20:43 -04:00
Nicolas Giard
c009cc1392
feat: new login experience (#2139)
* feat: multiple auth instances

* fix: auth setup + strategy initialization

* feat: admin auth - add strategy

* feat: redirect on login - group setting

* feat: oauth2 generic - props definitions

* feat: new login UI (wip)

* feat: new login UI (wip)

* feat: admin security login settings

* feat: tabset editor indicators + print view improvements

* fix: code styling
2020-07-03 19:36:33 -04:00
Maho Hiyajo
ea3962d143
fix: change discord module ‘discordapp.com’ to ‘discord.com’ (#2117) 2020-06-27 17:01:00 -04:00
jonasjoest
3b055f2ed5
fix: use first email address when retrieving multiple from LDAP (#2051)
Signed-off-by: Jonas Jöst <jonas@gpplanet.de>
2020-06-16 00:11:38 -04:00
NGPixel
f6bad765a2 feat: assets move + comments migration + admin users UI 2020-05-21 00:20:57 -04:00
Simon Lichtinghagen
764d98fa1d
fix: use fullname from keycloak profile info with username as fallback (#1888) 2020-05-15 13:28:55 -04:00
NGPixel
d1dd1f195b fix: ldap allow disable cert check + icon 2020-04-24 00:29:49 -04:00
Lucas
a5297f8c6e
feat: option to restrict Discord auth to a specific server (#1548)
* Optionally restrict discord authentication to members of a specific server

* fix: discord auth module code linting

Co-authored-by: Lucas Neves <lneves@modusgames.com>
Co-authored-by: Nicolas Giard <github@ngpixel.com>
2020-03-07 17:59:10 -05:00
gh0stalker
a6dd93746e
fix: resolve Twitch OAuth API (#1561) 2020-03-07 17:57:09 -05:00
NGPixel
692e5ca0bd fix: use preferred_username as alternate for Azure AD 2019-10-27 13:57:39 -04:00
D4uS1
94b0121efa feat: add keycloak auth provider (#1004)
* added custom keycloak authentication.

* update readme.

* updated readme.

* reverted README for PR.

* fix: use async/await

* changed callback parameter name from done to cb.

* fix: keycloak description + website

* fix: keycloak logo
2019-08-30 14:26:34 -04:00
Nick
d3e693ab46 feat: mandatory password change on login + UI fixes 2019-08-24 22:19:54 -04:00
rbtprograms
0f9ddf1e5d fix: Switch converted to Object Literal (#940)
* updating a switch into object literal and fixed a couple linter errors

* added a comment about weird formatting

* style: use lodash get

* fix: pass eslint + puglint + jest
2019-08-04 16:31:13 -04:00
Tiemen
e184fed8ee feat: skip discord authorization screen (#949) 2019-08-04 15:56:46 -04:00
Nick
7f4e392877 fix: gitlab baseurl typo (#934) 2019-07-23 21:21:24 -04:00
Nick
0c6472ab85 feat: azure ad auth 2019-07-20 11:09:55 -04:00
Nick
9966a97bd3 feat: azure ad auth (wip) 2019-07-20 00:16:29 -04:00
Nick
fd8d358b63 fix: git private key alt paste mode 2019-07-14 18:55:12 -04:00
Nick
8b7122277a fix: github enterprise auth compatibility 2019-07-14 13:36:39 -04:00
Nick
bd24ff225b fix: gitlab baseurl missing (#907) 2019-07-13 01:57:50 -04:00
NGPixel
4e990d50eb feat: gitlab auth module + storage locale namespacing fix 2019-06-25 02:13:41 +00:00
Nick
922f179a90 feat: LDAP debug flag 2019-06-04 22:23:32 -04:00
Nick
4f23984ac6 feat: users create (wip) 2019-04-28 20:25:19 -04:00
Nick
849d4f4774 feat: twitch auth module 2019-04-28 14:11:27 -04:00
Nick
d80bb928f7 feat: okta auth module 2019-04-28 13:51:42 -04:00
Nick
c03dae933f feat: facebook auth module 2019-04-28 02:11:38 -04:00
Nick
2abecea09c feat: google auth module 2019-04-28 00:20:06 -04:00
Nick
bdfac22876 feat: SAML auth module 2019-04-27 21:42:04 -04:00
Nick
26c7d49a78 feat: ldap module + deps upgrade 2019-04-26 23:59:35 -04:00
Nick
db14239eba feat: dropbox auth module + uploads folder boot fix 2019-04-22 13:12:03 -04:00
Nick
d7676513ac feat: auth0 + discord + github + slack auth modules 2019-04-21 21:43:33 -04:00
Nick
8af21c02af feat: oauth2 login (wip) 2019-04-21 02:04:00 -04:00
Nick
6fe49309c1 feat: admin auth + config ref + modules sidebar ui + GQL upload (wip) 2019-04-20 20:49:05 -04:00
Nick
3743777b97 fix: sqlite migrations 2019-02-22 17:05:49 -05:00
Nicolas Giard
2b98a5f27a feat: account verification + mail config in admin area 2018-12-22 16:18:16 -05:00
Nicolas Giard
3abd2f917c feat: auth jwt, permissions, login ui (wip) 2018-10-12 16:41:21 -04:00
Nicolas Giard
5e109802c6 feat: admin UI fixes + SAML strategy + dashboard gql 2018-09-03 20:58:54 -04:00
Nicolas Giard
c4c1cf007b feat: xterm + UI fixes 2018-08-13 00:12:44 -04:00
NGPixel
bcd6ceb271 feat: authentication improvements 2018-08-04 17:28:39 -04:00
NGPixel
2817c72ec3 feat: core improvements + local fs provider + UI fixes 2018-07-29 22:23:33 -04:00
NGPixel
cb84df7a53 feat: save page 2018-07-22 00:29:39 -04:00
NGPixel
fd8bf4dbff feat: authentication module refactor + added CAS module 2018-07-08 11:16:45 -04:00
NGPixel
4643336e9d feat: auth + storage config improvements 2018-07-01 19:50:42 -04:00
NGPixel
0afa65fa58 feat: auth self-registration config + gql grouping 2018-06-25 02:44:40 -04:00
NGPixel
17b2117b39 refactor: knex remaining models 2018-05-20 18:50:51 -04:00
NGPixel
c9b643fbf0 refactor: migrate to objection.js + knex 2018-05-19 16:40:07 -04:00
NGPixel
7acc4e9fed refactor: global namespace + admin pages UI 2018-03-05 15:49:36 -05:00
NGPixel
3471a7a6f9 refactor: project cleanup + onboarding page 2018-02-04 00:53:13 -05:00