Commit Graph

236 Commits

Author SHA1 Message Date
Rory Powell 90c0e7b2c1 Merge branch 'develop' into feature/oidc-support 2021-07-15 14:05:30 +01:00
Rory Powell 9e24bc14e7 Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
Rory Powell 356a765c92 Invert logos config naming to prevent conflict 2021-07-14 15:48:29 +01:00
mike12345567 ccb0e1b354 Merge branch 'master' of github.com:Budibase/budibase into develop 2021-07-14 13:54:39 +01:00
Budibase Release Bot be0559606a v0.9.74 2021-07-13 16:53:42 +00:00
Peter Clement 2900743545 Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Rory Powell 0982968f79 Setup common test data 2021-07-13 12:08:58 +01:00
Rory Powell 62533e40d7 Add jest to auth package devDependencies 2021-07-13 10:49:27 +01:00
Rory Powell 4c9308462e Remove redundant check on requireLocalAccount 2021-07-13 10:46:27 +01:00
Rory Powell d25d9edda1 Test google auth strategy 2021-07-13 10:17:14 +01:00
Rory Powell 4f397740e0 Add jest to auth package + test oidc strategy 2021-07-13 10:02:08 +01:00
Martin McKeaveney 742402f4c7 merge with master 2021-07-11 18:07:46 +01:00
Budibase Release Bot 3b07d3143b v0.9.73 2021-07-09 17:29:06 +00:00
Andrew Kingston a9d4f09782
Merge pull request #1953 from Budibase/client-feature-flags
Client library updating and client library feature awareness
2021-07-09 16:52:45 +01:00
Rory Powell 97a62594ed Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Rory Powell 94aa6b3711 Remove review comment 2021-07-09 09:37:52 +01:00
Rory Powell 63b13fc360 Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Rory Powell 87f05e7d06 Always maintain original user id. No longer remove old user during sync 2021-07-08 16:49:07 +01:00
Rory Powell 8bea18e696 sync third party profile on every login 2021-07-08 16:11:48 +01:00
Rory Powell 7db8658518 remove duplicate scope definition
scope can be defined both within the strategy declaration or when invoking passport
2021-07-08 15:21:54 +01:00
Rory Powell db9078cebe Linting 2021-07-08 13:12:25 +01:00
Rory Powell aa601f3701 Integrate with configuration ui / support for email usernames 2021-07-08 13:04:04 +01:00
Andrew Kingston 08578af4ba Add application/json as a known file type 2021-07-08 12:55:51 +01:00
Rory Powell ef8b9b40c1 Save email from third party user 2021-07-08 11:54:16 +01:00
Rory Powell 238d31e922 Merge branch 'feature/oidc-support' of github.com:Budibase/budibase into feature/oidc-support 2021-07-08 11:12:45 +01:00
Rory Powell 5ec79acabf Merge google/oidc user authentication and surface user relevant error messages during authentication 2021-07-08 11:12:34 +01:00
mike12345567 2fc606f5b5 Linting. 2021-07-07 23:30:14 +01:00
mike12345567 cc67e2caa6 Adding sessions API. 2021-07-07 23:29:19 +01:00
Peter Clement 4b518af605 Merge branch 'feature/oidc-support' of https://github.com/Budibase/budibase into oidc-config-management 2021-07-07 17:42:31 +01:00
mike12345567 7581360e9e Merge branch 'develop' of github.com:Budibase/budibase into feature/user-session 2021-07-07 17:17:16 +01:00
mike12345567 79b7747714 Fixing session issues after testing a bit. 2021-07-07 17:15:53 +01:00
Peter Clement 8426ffc036 Fix for icon upload issue 2021-07-07 16:18:18 +01:00
Rory Powell 1c39c2f063 Fallback to ID token to retrieve email when not available in passport profile (oidc userinfo) 2021-07-07 14:58:14 +01:00
Peter Clement b5f398da4d Allow user uploaded icons in oidc config 2021-07-07 13:41:09 +01:00
Budibase Release Bot 4afd6f4fbe v0.9.72 2021-07-07 12:19:03 +00:00
Budibase Release Bot cdd85c4d11 v0.9.71 2021-07-07 10:52:11 +00:00
Martin McKeaveney 93b562e2df make logged in users basic by default, prevent allowing users to be assigned as default in the UI 2021-07-06 18:43:04 +01:00
mike12345567 36c0e45761 WIP - first version of user sessions. 2021-07-06 18:10:04 +01:00
Martin McKeaveney 6af078a546 public role in builder backend UI 2021-07-06 17:19:53 +01:00
Martin McKeaveney 561f824606 default to public in UI 2021-07-06 17:19:03 +01:00
Martin McKeaveney 4e8b140c52 default users without roles to public role 2021-07-06 17:13:02 +01:00
Rory Powell 0745eedbcc Improve error handling on openid-configuration request 2021-07-06 10:03:40 +01:00
Rory Powell 624dd20522 Use configuration url to retrieve oidc endpoints
The /.well-known/openid-configuration endpoint can be used to
retrieve the majority of configuration needed for oidc

Additionally refactor the callback url to be generated on the server
side as this is a fixed endpoint.

Add linting fixes
2021-07-06 10:03:40 +01:00
Bernhard Hayden 65c436145a Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
Budibase Release Bot 54dae1b5a2 v0.9.70 2021-07-05 14:38:21 +00:00
Peter Clement f61c5b8143 Add validation to backend for OIDC configuration 2021-07-05 14:27:19 +01:00
Budibase Release Bot 5f4199a3fb v0.9.69 2021-07-01 10:51:59 +00:00
Budibase Release Bot 1385a08395 v0.9.68 2021-07-01 10:41:50 +00:00
Budibase Release Bot 2258f43bc1 v0.9.67 2021-06-29 16:46:33 +00:00
Martin McKeaveney 2c2e3757d8
Merge pull request #1871 from Budibase/develop
Develop
2021-06-29 14:48:27 +01:00