1
0
Fork 0
mirror of synced 2024-09-18 10:20:11 +12:00
Commit graph

77 commits

Author SHA1 Message Date
mike12345567
adf6d18cb1 Fixing some issues with public endpoints causing logout loop. 2021-07-27 16:17:02 +01:00
mike12345567
615053f201 Fixing some issues with org not being correctly detected. 2021-07-27 15:35:26 +01:00
mike12345567
a630bfb515 Fixing test case. 2021-07-23 20:08:16 +01:00
mike12345567
be6561e93d Adding use of the tenancy ID. 2021-07-23 17:41:00 +01:00
mike12345567
4160d63b2d Merge branch 'fix/lucene-filtering' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-23 16:10:59 +01:00
mike12345567
fa3cf585d7 Adding concept of version to APIs. 2021-07-23 15:29:14 +01:00
mike12345567
27b2a13817 Swapping admin -> global in worker to reduce confusion in API url naming. 2021-07-22 12:56:47 +01:00
mike12345567
3305400c83 Fixing saving of oidc and google auth, neither should require the callbackURL property with the tenancy update. 2021-07-21 11:10:26 +01:00
mike12345567
9d89362af1 Fixing some issues discovered with logging in. 2021-07-20 17:46:41 +01:00
mike12345567
129ff3fef2 Merge branch 'develop' of github.com:Budibase/budibase into feature/multi-tenants 2021-07-20 15:56:12 +01:00
mike12345567
f3156fca06 Further work, tenancy now working but some more work to be done. 2021-07-16 18:04:49 +01:00
mike12345567
b7995dd61d Updating auth to utilise the tenant system. 2021-07-16 15:08:58 +01:00
mike12345567
912659a8ad First version of multi-tenancy, work still to be done. 2021-07-15 17:57:02 +01:00
Rory Powell
ea7ebafe12 Add database test configuration to auth package 2021-07-15 12:55:35 +01:00
Peter Clement
9dd05ec96e Add UUID to each oidc config to distinguish each provider 2021-07-13 15:52:21 +01:00
Rory Powell
6c8a025760 Setup common test data 2021-07-13 12:08:58 +01:00
Rory Powell
b47073ae49 Remove redundant check on requireLocalAccount 2021-07-13 10:46:27 +01:00
Rory Powell
f7d91f7cd6 Test google auth strategy 2021-07-13 10:17:14 +01:00
Rory Powell
fc3d7122a7 Add jest to auth package + test oidc strategy 2021-07-13 10:02:08 +01:00
Rory Powell
baaaf3f237 Update clientId -> clientID 2021-07-09 16:21:42 +01:00
Rory Powell
a98ae5b367 Remove review comment 2021-07-09 09:37:52 +01:00
Rory Powell
73c8dcf71b Merge branch 'develop' into feature/oidc-support 2021-07-08 20:15:16 +01:00
Rory Powell
20b70a0445 Always maintain original user id. No longer remove old user during sync 2021-07-08 16:49:07 +01:00
Rory Powell
faf711e092 sync third party profile on every login 2021-07-08 16:11:48 +01:00
Rory Powell
1c18b4c6ac 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
c16cfc328f Linting 2021-07-08 13:12:25 +01:00
Rory Powell
ec93d15462 Integrate with configuration ui / support for email usernames 2021-07-08 13:04:04 +01:00
Rory Powell
bf94125d33 Save email from third party user 2021-07-08 11:54:16 +01:00
Rory Powell
25f1368227 Merge google/oidc user authentication and surface user relevant error messages during authentication 2021-07-08 11:12:34 +01:00
mike12345567
93302cb667 Linting. 2021-07-07 23:30:14 +01:00
mike12345567
4916ff7eb8 Adding sessions API. 2021-07-07 23:29:19 +01:00
mike12345567
7f0fc5f899 Fixing session issues after testing a bit. 2021-07-07 17:15:53 +01:00
Rory Powell
d6c6681220 Fallback to ID token to retrieve email when not available in passport profile (oidc userinfo) 2021-07-07 14:58:14 +01:00
mike12345567
b847f85d91 WIP - first version of user sessions. 2021-07-06 18:10:04 +01:00
Rory Powell
71ddd41877 Improve error handling on openid-configuration request 2021-07-06 10:03:40 +01:00
Rory Powell
7803540399 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
baab7141c0 Proof of concept OIDC implementation 2021-07-06 10:03:40 +01:00
mike12345567
f4757aeee1 Fixing issues discovered by cypress tests. 2021-06-21 18:37:14 +01:00
mike12345567
ed5dd08c66 Fixing authentication with API key issue. 2021-06-21 17:13:06 +01:00
Martin McKeaveney
feca6cc962 remove builder role from google auth, only allow google sign in if local account exists 2021-06-08 14:46:18 +01:00
Martin McKeaveney
e927f44c12 removing superfluous controllers 2021-06-01 20:22:56 +01:00
Martin McKeaveney
edfc23454d Merge branch 'master' of https://github.com/Budibase/budibase into lab-day-2705 2021-06-01 19:24:24 +01:00
Martin McKeaveney
a00357838d remove log 2021-06-01 15:03:19 +01:00
Martin McKeaveney
36b39ef4df merge google accounts, improve connection pooling for RDBMS 2021-06-01 15:00:28 +01:00
Martin McKeaveney
0c90f9ffc5 adding watchtower to docker config 2021-05-28 10:09:32 +01:00
mike12345567
c6a6d49cd7 Updating administration middleware so that internal requests allowed through automatically. 2021-05-21 16:43:01 +01:00
mike12345567
8e1f18e456 Changing INTERNAL_KEY to INTERNAL_API_KEY. 2021-05-11 15:23:03 +01:00
mike12345567
7736869148 Some updates, working towards supporting automation send smtp email also removing the styling template, adding to base. 2021-05-11 12:02:29 +01:00
mike12345567
b01da0aad5 Merge branch 'next' of github.com:Budibase/budibase into feature/password-reset 2021-05-04 15:21:53 +01:00
Keviin Åberg Kultalahti
0afbf1649e lint:fix 2021-05-03 09:31:09 +02:00