Claudiu Dragalina-Paraipan
e2435f92f1
[authn]: add GetIDClaims() to Requester ( #91387 )
...
* authn: add GetIDClaims() to Requester
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* authn: update StaticRequester
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* update auth/idtest/mock
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* Fix test
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-08-02 12:36:02 +03:00
Ryan McKinley
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03:00
Misi
69c5fa8361
IDToken: Add current user's Username and UID to the ID token ( #90240 )
...
* Set claims.Rest.Login from the IDService
* Add UID to the ID token
2024-07-11 14:25:30 +02:00
Karl Persson
2d8570e85e
IDToken: Reuse claims from authlib ( #87437 )
...
* bump authlib version
* Reuse claims from authlib
2024-05-07 16:46:43 +02:00
Karl Persson
0fa983ad8e
AuthN: Use typed namespace id inside authn package ( #86048 )
...
* authn: Use typed namespace id inside package
2024-04-24 09:57:34 +02:00
Karl Persson
895222725c
Session: set authID and authenticatedBy ( #85806 )
...
* Authn: Resolve authenticate by and auth id when fethcing signed in user
* Change logout client interface to only take Requester interface
* Session: Fetch external auth info when authenticating sessions
* Use authenticated by from identity
* Move call to get auth-info into session client and use GetAuthenticatedBy in various places
2024-04-11 10:25:29 +02:00
Karl Persson
28bb6979f5
IDForwading: cache based on expires in ( #81136 )
...
* IDFowarding: Cache based on expires in
* IDFowarding: Change default expires in
---------
Co-authored-by: Victor Cinaglia <victor@grafana.com >
2024-01-24 13:56:44 +01:00
Karl Persson
43b6b6b2a4
IDForwarding: add "authenticatedBy" to id token ( #80622 )
...
* IDForwading: Set authenticated by for users
2024-01-17 09:52:05 +01:00
Karl Persson
a2d4ce18ad
IDForwarding: Add basic metrics ( #75798 )
...
* IDService: Add basic metrics
* IDService: Add more metrics
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2023-10-05 09:17:40 +02:00
Karl Persson
b9b4246432
IDForwarding: Add auth hook to generate id token ( #75555 )
...
* AuthN: Move identity struct to its own file
* IDForwarding: Add IDToken property to usr and identity structs and add GetIDToken to requester interface
* Inject IDService into background services
* IDForwarding: Register post auth hook when feature toggle is enabled
2023-09-28 09:22:05 +02:00