Maksim Nabokikh
6b9ce00e11
feat: implement AuthSession CRUD operations ( #4646 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
11 hours ago
Maksim Nabokikh
5a4395fd12
feat: add UserIdentity entity and CRUD operations ( #4643 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
Signed-off-by: Maksim Nabokikh <max.nabokih@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
3 days ago
Maksim Nabokikh
3d97c59032
test: add concurrency tests for storage implementations ( #4631 )
...
Signed-off-by: maksim.nabokikh <max.nabokih@gmail.com>
7 days ago
Mark Sagi-Kazar
e230d9426d
test: use new Go features in tests
...
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
7 months ago
Oleksandr Redko
9891daa585
refactor: simplify tests by using slog.DiscardHandler ( #4058 )
...
Signed-off-by: Oleksandr Redko <oleksandr.red+github@gmail.com>
12 months ago
Bob Maertz
ad31b5d6f7
Passing context storage ( #3941 )
...
Signed-off-by: Bob Maertz <1771054+bobmaertz@users.noreply.github.com>
1 year ago
Sean Liao
0b6a78397e
use slog for structured logging ( #3502 )
...
Signed-off-by: Sean Liao <sean+git@liao.dev>
2 years ago
Ferenc Fabian
2377b0a0cd
Add context to storage's Create endpoints ( #2935 )
...
* Initial commit
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
* Finish the syntex fixes
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
* Add fixes after running the tests
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
* Change background context to request context
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
---------
Signed-off-by: PumpkinSeed <qwer.kocka@gmail.com>
2 years ago
m.nabokikh
4b54433ec2
Bump golag-ci lint version to 1.40.1
...
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
5 years ago
Justin Slowik
9bbdc721d5
Device flow token code exchange ( #2 )
...
* Added /device/token handler with associated business logic and storage tests.
Perform user code exchange, flag the device code as complete.
Moved device handler code into its own file for cleanliness. Cleanup
* Removed PKCE code
* Rate limiting for /device/token endpoint based on ietf standards
* Configurable Device expiry
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com>
6 years ago
Justin Slowik
0d1a0e4129
Device token api endpoint ( #1 )
...
* Added /device/token handler with associated business logic and storage tests.
* Use crypto rand for user code
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com>
6 years ago
Justin Slowik
6d343e059b
Generates/Stores the device request and returns the device and user codes.
...
Signed-off-by: justin-slowik <justin.slowik@thermofisher.com>
6 years ago
Mark Sagi-Kazar
06521ffa49
Remove the logrus logger wrapper
7 years ago
Mark Sagi-Kazar
be581fa7ff
Add logger interface and stop relying on Logrus directly
7 years ago
Stephan Renatus
b9f6594bf0
*: github.com/coreos/dex -> github.com/dexidp/dex
...
Signed-off-by: Stephan Renatus <srenatus@chef.io>
8 years ago
rithu john
fd4f57b5f3
storage/static.go: storage backend should not explicitly lower-case email ids.
9 years ago
Eric Stroczynski
4a88d0641a
: update {S->s}irupsen/logrus
9 years ago
rithu john
8c9c2518f5
server: account for dynamically changing connector object in storage.
9 years ago
rithu john
bc55b86d0d
storage: add connector object to backend storage.
9 years ago
Eric Chiang
4c39bc20ae
storage: make static storages query real storages for some actions
...
If dex is configured with static passwords or clients, let the API
still add or modify objects in the backing storage, so long as
their IDs don't conflict with the static ones. List options now
aggregate resources from the static list and backing storage.
9 years ago
rithu john
d928ac0677
storage: Add OfflineSession object to backend storage.
9 years ago
Eric Chiang
312ca7491e
storage: add extra fields to refresh token and update method
9 years ago
rithu john
2e22a948cf
cmd/dex: add logging config and serve logger for different modules.
9 years ago
rithu john
19c22807a7
api: adding ListPasswords() method to the storage interface.
9 years ago
Eric Chiang
c14ab3c44e
storage/memory: add garbage collection method
10 years ago
Eric Chiang
ae3b5ef6e9
storage/memory: add password resource
10 years ago
Eric Chiang
63f56b4269
storage: hook up conformance tests for SQL
10 years ago
Eric Chiang
e2bf8ceb63
storage: rename "storagetest" package to "conformance"
10 years ago
Eric Chiang
bfe560ee21
rename
10 years ago
Eric Chiang
53d1be4a87
*: load static clients from config file
10 years ago
Eric Chiang
725a94214a
storage: add storage with static clients
10 years ago
Eric Chiang
3110f45c3d
*: lots of renaming
10 years ago
Eric Chiang
e716c14718
storage: remove current registration process for new storages
10 years ago
Eric Chiang
cab271f304
initial commit
10 years ago