Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | ocp hack added | Cansu Kavili | 2020-04-13 | 1 | -0/+1 |
| | |||||
* | Fix: Error when retrieve token from some OIDC due to not necessary scope ↵ | Benoit MOUQUET | 2020-03-05 | 1 | -1/+0 |
| | | | | parameter | ||||
* | Implemented Nextcloud OAuth2 Hack | Bojan Hartmann | 2020-01-22 | 1 | -0/+1 |
| | | | | | Fixed: OAuth2 authentication via Nextcloud(tested Nextcloud 17.0.2-18.0.0) Todo: actually use the profile data: Fullname and Email in Profile | ||||
* | Try to fix Node 12 Buffer() deprecation errors. | Lauri Ojansivu | 2020-01-18 | 1 | -3/+3 |
| | | | | Thanks to xet7 ! | ||||
* | Change Buffer to Buffer.alloc on Node v12. Try to fix Snap. | Lauri Ojansivu | 2020-01-11 | 1 | -3/+3 |
| | |||||
* | Try to fix OIDC login. | Lauri Ojansivu | 2019-06-12 | 1 | -6/+6 |
| | | | | Thanks to xet7 ! | ||||
* | Update oidc_server.js | benji | 2019-06-11 | 1 | -1/+7 |
| | | | | | | | | | | with this fix, Authentication via OAuth2 with Google is possible. 1.) token endpoint and userinfo-endpoint in Google are different, so you have to check that, 2.) request the scopes of the environment variable "process.env.OAUTH2_REQUEST_PERMISSIONS" with this small little fix the login with google in oauth2-protocol gets possible :-) I would be very happy about a master-merge thank you in advance | ||||
* | Fix Scope parsing Issue for OAuth2 Login | DominikPf | 2019-05-23 | 1 | -3/+2 |
| | |||||
* | fix(oidc): can not log in | Samuel | 2019-04-26 | 1 | -6/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Trying to configure wekan authenticating against LemonLDAP-NG, I used to read about errors like the following: ``` XXX: getUserInfo response: { sub: 'demoone' } XXX: userinfo: { sub: 'demoone' } {"line":"431","file":"oauth.js","message":"Error in OAuth Server: id is not defined","time":{"$date":1556286530412},"level":"warn"} Exception while invoking method 'login' { stack: 'ReferenceError: id is not defined\n at Object.handleOauthRequest (packages/wekan-oidc.js:39:68)\n at OAuth._requestHandlers.(anonymous function) (packages/oauth2.js:27:31)\n at middleware (packages/oauth.js:203:5)\n at packages/oauth.js:176:5', source: 'method' } ``` Looking at the sources, that error message seems to be right: we have several references to `id`, `uid`, `displayName` or `email`, which are not defined. Probably a typo, assuming we meant these to be strings. Applying that patch, I confirm I can finally log in: ``` XXX: getUserInfo response: { sub: 'demoone' } XXX: userinfo: { sub: 'demoone' } XXX: serviceData: { id: undefined, username: undefined, fullname: undefined, accessToken: 'e57dc4e9e81cc98c279db3ed08b1c72f', expiresAt: 1556298699213, email: undefined } XXX: profile: { name: undefined, email: undefined } ``` All the credit goes to @pcurie . | ||||
* | Include to Wekan packages directory contents, so that meteor command would ↵ | Lauri Ojansivu | 2019-04-20 | 8 | -0/+279 |
build all directly. This also simplifies build scripts. Thanks to xet7 ! |