mirror of
https://github.com/penpot/penpot.git
synced 2025-05-19 20:06:41 +02:00
✨ Add the ability to parse OIDC JWT token
If jwks-uri is provided or properly discovered, they will be used for unsign JWT token and get use info data from that token instead of making an additional call to the userinfo endpoint
This commit is contained in:
parent
e61aaaecf3
commit
6339b07fba
2 changed files with 122 additions and 72 deletions
|
@ -151,6 +151,7 @@
|
|||
(s/def ::oidc-token-uri ::us/string)
|
||||
(s/def ::oidc-auth-uri ::us/string)
|
||||
(s/def ::oidc-user-uri ::us/string)
|
||||
(s/def ::oidc-jwks-uri ::us/string)
|
||||
(s/def ::oidc-scopes ::us/set-of-strings)
|
||||
(s/def ::oidc-roles ::us/set-of-strings)
|
||||
(s/def ::oidc-roles-attr ::us/string)
|
||||
|
@ -245,6 +246,7 @@
|
|||
::oidc-token-uri
|
||||
::oidc-auth-uri
|
||||
::oidc-user-uri
|
||||
::oidc-jwks-uri
|
||||
::oidc-scopes
|
||||
::oidc-roles-attr
|
||||
::oidc-email-attr
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue