Commit graph

37 commits

Author SHA1 Message Date
Vadim Aleksandrov
f010235ff2
Fix DEBUG environment variable check 2024-04-17 14:06:15 +03:00
Martin Filser
0767f50af8 Move every Users.findOne(idOrFirstObjectSelector, options) to the ReactiveCache 2023-07-18 21:25:28 +02:00
Martin Filser
a182482cfb Move every Boards.findOne(boardId) to the ReactiveCache (Part 2) 2023-07-18 21:25:28 +02:00
Lauri Ojansivu
1e4fba3ec8 Added back autologin, because reverting it broke Google OIDC login.
Thanks to xet7 !
2022-09-01 12:12:30 +03:00
Lauri Ojansivu
43a7096753 Revert autologin, because it broke OIDC login with Keycloak.
Thanks to wb9688 and xet7 !

Fixes #4660,
related https://github.com/wekan/wekan/pull/4588
2022-08-30 23:12:23 +03:00
viehlieb
2e354f9b1e wip redirect on landing page and logout to oidc provider 2022-05-11 09:05:43 +02:00
Lauri Ojansivu
1b429b3f99 Fixed: With ORACLE_OIM_ENABLED, allow setting OAUTH2_REQUEST_PERMISSIONS with environment variable.
Thanks to xet7 !
2020-10-21 19:20:48 +03:00
Lauri Ojansivu
ec8a78537f Login with OIDC OAuth2 Oracle on premise identity manager OIM, with setting ORACLE_OIM_ENABLED=true.
Thanks to xet7 !
2020-10-02 23:15:39 +03:00
Lauri Ojansivu
214c86cc22 Added some CAS and SAML settings. Not tested. Please test and send pull requests if it does not work.
See https://github.com/wekan/wekan/wiki/SAML and https://github.com/wekan/wekan/wiki/CAS

Thanks to xet7 !

Related #3204,
related #708
2020-09-14 19:57:50 +03:00
Robert Lebedeu
2c4d3fa317 Fix checkBoardAccess authentication check 2019-12-16 18:10:48 +01:00
Lauri Ojansivu
fe42eb1d01 Add check for isActive.
Thanks to xet !
2019-07-17 03:11:37 +03:00
Justin Reynolds
3eb4d2c341 Prettier & eslint project style update 2019-06-28 12:56:51 -05:00
Lauri Ojansivu
1178a48e68 Add back [OAuth2 idTokenWhitelistFields default empty array](8b31c0768c (commitcomment-33921882)).
Thanks to moserben16 !
2019-06-13 11:03:45 +03:00
Lauri Ojansivu
8b31c0768c Try to fix OIDC login.
Thanks to xet7 !
2019-06-12 06:29:57 +03:00
DominikPf
892ee60527 Fix Scope parsing Issue for OAuth2 Login 2019-05-23 10:28:08 +02:00
Lauri Ojansivu
634df8f6f2 - Fix: OAuth2 Requested Scopes are wrong / cannot be configured.
Thanks to DominikPf and xet7 !

Closes #2412
2019-05-22 21:37:01 +03:00
Lauri Ojansivu
7919ae3628 - OAUTH2_LOGIN_STYLE popup or redirect, part 2.
Thanks to xet7 !
2019-03-21 21:37:38 +02:00
Lauri Ojansivu
05351c0ac1 - Fix OIDC error "a.join is not a function" b reverting
configurable OAUTH2_ID_TOKEN_WHITELIST_FIELDS and
  OAUTH2_REQUEST_PERMISSIONS from Wekan v2.22-2.26.

Thanks to xet7 !

Closes #2206,
Related #1874,
Related #1722
2019-02-27 06:02:00 +02:00
Lauri Ojansivu
5e238bfbfe - Fix OAuth2 requestPermissions.
Thanks to xet7 !

Closes #1722
2019-02-25 19:45:41 +02:00
Lauri Ojansivu
4e6e78ccd2 - Add missing text .env
Thanks to Vanila Chat user .gitignore !
2019-02-23 19:00:29 +02:00
Lauri Ojansivu
b66f471e53 - Add configurable settings OAUTH2_ID_TOKEN_WHITELIST_FIELDS
and OAUTH2_REQUEST_PERMISSIONS.

Thanks to xet7.

Related #1874
2019-02-13 03:01:10 +02:00
Lauri Ojansivu
9703843602 - Revert [Sandstorm API changes](be03a191c4
that were done at [Wekan v2.05](https://github.com/wekan/wekan/blob/devel/CHANGELOG.md#v205-2019-01-27-wekan-release)
  to fix #2143.

Thanks to pantraining and xet7 !

Closes #2143
2019-01-30 17:56:53 +02:00
Lauri Ojansivu
be03a191c4 - Try to have some progress on Wekan Sandstorm API. I did not get it fully working yet.
Thanks to xet7.
2019-01-27 18:16:27 +02:00
Lauri Ojansivu
f2b64c1aaa Remove console.log 2018-10-25 13:09:25 +03:00
Lauri Ojansivu
05b9e825bb - Try to fix: Impossible to connect to LDAP if UserDN contain space(s) #1970
Thanks to Akuket and xet7 !
2018-10-25 12:38:30 +03:00
Lauri Ojansivu
39312a075e - [OAuth2 Login on Standalone Wekan](https://github.com/wekan/wekan/wiki/OAuth2). For example, Rocket.Chat can provide OAuth2 login to Wekan.
Also, if you have Rocket.Chat using LDAP/SAML/Google/etc for logging into Rocket.Chat, then same users can login to Wekan when
  Rocket.Chat is providing OAuth2 login to Wekan.

Thanks to salleman33 and xet7 !

Closes #234
2018-08-25 00:49:02 +03:00
Lauri Ojansivu
96173ad431 Merge branch 'devel' of https://github.com/salleman33/wekan into salleman33-devel 2018-08-24 19:46:42 +03:00
Lauri Ojansivu
7cc930f6b9 Fix lint error in Fibers size setting 2018-04-18 16:03:49 +03:00
Lauri Ojansivu
e26a4824cf Fix Node Fibers 100% CPU issue.
Thanks to kentonv !

Related wekan/wekan-mongodb#2, related meteor/meteor#9796
2018-04-16 21:18:09 +03:00
Allemand Sylvain
1c8a00943c authentification oauth2 2018-04-09 16:49:07 +02:00
Lauri Ojansivu
62e43c0832 Fix: Error after sending invitation and joining board:
Exception while invoking method 'login' TypeError: Cannot read property 'loginDisabled' of undefined.
Thanks to nztqa ! Closes #1331
2017-11-19 17:51:26 +02:00
soohwa
77d23df87f Add the ability for the admin :
- disabling a login for a user (not himself)
- enabling a login for a user
- transfering the ownership of all user's boards to himself
2017-10-13 08:15:19 +02:00
mayjs
25b26657da Fixed eslint errors 2017-05-15 22:10:46 +02:00
mayjs
1e8d9f02f3 Extracted board access check function 2017-05-15 21:02:31 +02:00
mayjs
ef6f2e8d62 Added a simple authorization function 2017-05-15 19:43:15 +02:00
mayjs
609a8894ec Added a non restrictive authentication function 2017-05-15 18:40:45 +02:00
huneau romain
b5271e5346 add token authentication, only admin can use api 2017-05-11 12:15:02 +02:00