vikunja-api/pkg/user
konrad 2b5c9ae7a8 Authentication with OpenID Connect providers (#713)
Add config docs

Lint

Move provider-related stuff to separate file

Refactor getting auth providers

Fix tests

Fix user tests

Fix openid tests

Add swagger docs

Fix lint

Fix lint issues

Fix checking if the user already exists

Make sure to create a new namespace for new users

Docs

Add tests for openid

Remove unnessecary err check

Consistently return nil users if creating a new user failed

Move sending confirmation email to separate function

Better variable names

Move checks to separate functions

Refactor creating user into seperate file

Fix creating new local users

Test creating new users from different issuers

Generate a random username right away if no preferred username has been given

Add todo

Cache openid providers

Add getting int clientids

Fix migration

Move creating tokens to auth package

Add getting or creating a third party user

Add parsing claims

Add retreiving auth tokens

Add token callback from openid package

Add check for provider key

Add routes

Start adding openid auth handler

Add config for openid auth

Co-authored-by: kolaente <k@knt.li>
Reviewed-on: https://kolaente.dev/vikunja/api/pulls/713
Co-Authored-By: konrad <konrad@kola-entertainments.de>
Co-Committed-By: konrad <konrad@kola-entertainments.de>
2020-11-21 16:38:58 +00:00
..
db.go Add 2fa for authentification (#383) 2020-04-17 19:25:35 +00:00
error.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
main_test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
test.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
totp.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
update_email.go Add changing email for users 2020-04-17 16:01:45 +02:00
user.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
user_create.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
user_email_confirm.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00
user_email_confirm_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
user_password_reset.go Manage users via cli (#632) 2020-08-13 15:34:02 +00:00
user_test.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
users_list.go Refactor User and DB handling (#123) 2020-01-26 17:08:06 +00:00