Michael Mayer
9eef183323
CLI: Upgrade github.com/urfave/cli from v1 to v2 #3168
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-12-05 17:15:59 +01:00
Michael Mayer
b11491c9d6
Auth: Refactor grant, method, and provider types in pkg/authn #808 #4114
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-04-06 15:13:15 +02:00
graciousgrey
5821ab7e2a
Tests: Add unit tests #808 #3943
2024-03-27 13:24:09 +01:00
Michael Mayer
4425becb3d
Auth: Implement 2FA setup and login in the web user interface #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-03-21 14:32:51 +01:00
graciousgrey
dfe7142c8f
Tests: Add unit tests
2024-01-31 14:16:13 +01:00
Michael Mayer
305e7bac68
OAuth2: Refactor "client add" and "client mod" CLI commands #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-29 13:54:50 +01:00
Michael Mayer
966c421cd4
Auth: Update internal/form/client_test.go #782 #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-19 15:12:47 +01:00
Michael Mayer
06a18f5818
Auth: Add "access_token" authentication provider type #782 #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-19 14:41:08 +01:00
Michael Mayer
4ba32a7220
2FA: Add two-factor authentication key model and tests #782 #808 #3943
...
Signed-off-by: Michael Mayer <michael@photoprism.app >
2024-01-19 13:45:30 +01:00
graciousgrey
c478025513
Tests: Add unit tests #3943
2024-01-16 18:10:59 +01:00
graciousgrey
2bf65737d3
Tests: Add unit tests #3943
2024-01-16 18:10:59 +01:00
Michael Mayer
467f7b1585
OAuth2: Add Client Credentials Authentication #213 #782 #808 #3730 #3943
...
This adds standard OAuth2 client credentials and bearer token support as
well as scope-based authorization checks for REST API clients. Note that
this initial implementation should not be used in production and that
the access token limit has not been implemented yet.
Signed-off-by: Michael Mayer <michael@photoprism.app >
2023-12-12 18:42:50 +01:00