Authentication with OpenID Connect providers #713

Merged
konrad merged 37 commits from feature/openid into master 2020-11-21 16:38:59 +00:00

37 Commits

Author SHA1 Message Date
kolaente 90c209d0ea
Add config docs
continuous-integration/drone/pr Build is passing Details
2020-11-21 15:56:47 +01:00
kolaente 5aae4bcb59
Lint
continuous-integration/drone/pr Build is passing Details
2020-11-21 14:48:23 +01:00
kolaente 8666f91402
Move provider-related stuff to separate file 2020-11-21 14:47:51 +01:00
kolaente 8f336c3441
Refactor getting auth providers
continuous-integration/drone/pr Build is failing Details
2020-11-21 14:45:30 +01:00
kolaente 74e925a97a
Fix tests
continuous-integration/drone/pr Build is passing Details
2020-11-21 14:26:51 +01:00
kolaente 1e9ac1ce78
Fix user tests 2020-11-21 14:22:16 +01:00
kolaente 38829a800b
Fix openid tests 2020-11-21 14:21:16 +01:00
kolaente b4275628ff
Add swagger docs
continuous-integration/drone/pr Build is failing Details
2020-11-21 14:17:11 +01:00
kolaente 1eb4b15cb0
Fix lint
continuous-integration/drone/pr Build is failing Details
2020-11-21 14:08:25 +01:00
kolaente 966e4d6ed6
Fix lint issues
continuous-integration/drone/pr Build is failing Details
2020-11-21 13:54:35 +01:00
kolaente d7f2ee1682
Fix checking if the user already exists
continuous-integration/drone/pr Build is failing Details
2020-11-21 13:42:19 +01:00
kolaente 61b2e7566e
Make sure to create a new namespace for new users 2020-11-21 13:42:05 +01:00
kolaente 004bf8dd79
Docs 2020-11-21 12:37:32 +01:00
kolaente 6977707b2d
Merge branch 'master' into feature/openid
# Conflicts:
#	go.mod
2020-11-21 12:26:02 +01:00
kolaente 4ec7a66b23
Add tests for openid 2020-11-19 21:26:43 +01:00
kolaente 9330227003
Remove unnessecary err check 2020-11-19 21:12:43 +01:00
kolaente 934e94a5f2
Consistently return nil users if creating a new user failed 2020-11-19 21:11:49 +01:00
kolaente 36b9a9b2d5
Move sending confirmation email to separate function 2020-11-19 21:10:47 +01:00
kolaente c90328896a
Better variable names 2020-11-19 21:09:17 +01:00
kolaente e11e7485f8
Move checks to separate functions 2020-11-19 21:07:22 +01:00
kolaente 7d3718396e
Refactor creating user into seperate file 2020-11-19 20:56:52 +01:00
kolaente 1fb7625ca2
Fix creating new local users 2020-11-19 20:55:48 +01:00
kolaente c30c69e570
Test creating new users from different issuers 2020-11-19 20:45:02 +01:00
kolaente 544ddc757e
Generate a random username right away if no preferred username has been given 2020-11-19 20:22:53 +01:00
kolaente da6a80d4a9
Add todo 2020-11-16 22:26:14 +01:00
kolaente 4b2a1329f0
Cache openid providers 2020-11-16 20:58:31 +01:00
kolaente aabb7158ed
Add getting int clientids 2020-11-16 20:38:08 +01:00
kolaente 710f23c754
Fix migration 2020-10-25 20:36:01 +01:00
kolaente baa927baf3
Move creating tokens to auth package 2020-10-25 20:32:33 +01:00
kolaente 0c382f2ee6
Add getting or creating a third party user 2020-10-25 20:28:28 +01:00
kolaente 52d9c25125
Add parsing claims 2020-10-25 19:53:56 +01:00
kolaente 05e4bfdca0
Add retreiving auth tokens 2020-10-25 19:38:24 +01:00
kolaente 65264f7948
Add token callback from openid package 2020-10-25 18:03:12 +01:00
kolaente 2a79d5a35c
Add check for provider key 2020-10-25 16:05:24 +01:00
kolaente 712e8624ed
Add routes 2020-10-25 15:50:34 +01:00
kolaente 776dc3598c
Start adding openid auth handler 2020-10-25 15:50:29 +01:00
kolaente ac6d0a6472
Add config for openid auth 2020-10-25 15:49:53 +01:00