vikunja-api/pkg/models
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
..
bulk_task.go Use db sessions for task-related things (#621) 2020-08-01 16:54:38 +00:00
bulk_task_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
error.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
kanban.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
kanban_rights.go Use db sessions for task-related things (#621) 2020-08-01 16:54:38 +00:00
kanban_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
label.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
label_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
label_task.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
label_task_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
label_task_test.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
label_test.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
link_sharing.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
link_sharing_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
list.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_duplicate.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_duplicate_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_rights.go Saved filters (#655) 2020-09-26 21:02:17 +00:00
list_team.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_team_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
list_team_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_users.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_users_rights.go Make sure to require admin rights when modifying list/namespace users to be consistent with teams 2020-08-12 18:20:47 +02:00
list_users_rights_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
list_users_test.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
main_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
message.go Update copyright header 2020-02-07 17:27:45 +01:00
models.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
namespace.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
namespace_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
namespace_team.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
namespace_team_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
namespace_team_rights_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
namespace_team_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
namespace_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
namespace_users.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
namespace_users_rights.go Make sure to require admin rights when modifying list/namespace users to be consistent with teams 2020-08-12 18:20:47 +02:00
namespace_users_rights_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
namespace_users_test.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
rights.go Update copyright header 2020-02-07 17:27:45 +01:00
saved_filters.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
saved_filters_rights.go Saved filters (#655) 2020-09-26 21:02:17 +00:00
saved_filters_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_assignees.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_assignees_rights.go Update copyright header 2020-02-07 17:27:45 +01:00
task_attachment.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_attachment_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_attachment_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_collection.go Saved filters (#655) 2020-09-26 21:02:17 +00:00
task_collection_filter.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_collection_sort.go Migrate all timestamps to real iso dates (#594) 2020-06-27 17:04:01 +00:00
task_collection_sort_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_collection_test.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00
task_comment_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_comments.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_comments_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_relation.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
task_relation_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
task_relation_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
tasks.go Fix task updated timestamp not being updated in the response after updating a task 2020-10-25 12:59:28 +01:00
tasks_rights.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
tasks_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
team_members.go Fix updating team admin status 2020-08-05 17:28:11 +02:00
team_members_rights.go Add update route to toggle team member admin status 2020-08-05 17:21:17 +02:00
team_members_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
teams.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
teams_rights.go Return rights when reading a single item (#626) 2020-08-10 12:11:43 +00:00
teams_rights_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
teams_test.go Add Golangci Lint (#676) 2020-10-11 20:10:03 +00:00
unit_tests.go Saved filters (#655) 2020-09-26 21:02:17 +00:00
unsplash.go List Backgrounds (#568) 2020-05-26 20:07:55 +00:00
user_list.go Update xorm to use the new import path (#133) 2020-02-14 16:34:25 +00:00
users_list_test.go Authentication with OpenID Connect providers (#713) 2020-11-21 16:38:58 +00:00