harbor/src/core/controllers
Daniel Jiang 64af09d52b Populate user groups during OIDC CLI secret verification
This commit refactors the flow to populate user info and verify CLI
secret in OIDC authentication.

It will call the `userinfo` backend of OIDC backend and fallback to
using the ID token if userinfo is not supported by the backend.

It also makes sure the token will be persisted if it's refreshed during
this procedure.

Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2019-11-18 23:53:05 -08:00
..
base.go Generate new session ID after login 2019-09-19 20:51:50 +08:00
controllers_test.go Refine request handle process (#9760) 2019-11-07 13:02:17 +08:00
error.go Replacing copyright notices with "Copyright Project Harbor Authors". 2018-09-19 16:59:36 +00:00
oidc.go Populate user groups during OIDC CLI secret verification 2019-11-18 23:53:05 -08:00
proxy.go Refine request handle process (#9760) 2019-11-07 13:02:17 +08:00