3
Enable login with JWT from IdP via API
Source: directus/directus#22999 · opened by @greenGizmo
Summary Afaik right now it is only possible to fully utilize SSO when you use the admin ui. I would request that this should also be possible to authenticate API calls with a valid JWT from the IdP. Or make it possible to exchange a IdP JWT with a Directus JWT. In this example the client authenticates against the IdP with credentials prompted by the user. Now the client can call the custom backend service acts as a resource server which validates the JWT against the IdP and authorizes the request. But the client can not call Directus with the same token. To be able to call directus it we be necessary to prompt a second login and handle a second access token only for Directus. It should be possible to either call the Directus API with the same IdP access token. Or exchange the IdP access token with a Directus access token in the background so the user does not have to do a second login. Basic Example Either act as a ressource server and validate a token that has the IdP as…
No pledges yet. Be the first to back this.
Comments
Similar requests
Map OpenID groups to internal Directus groups
1 vote · 0 comments
REST-API: Support reusing authentication from configured auth provider
9 votes · 0 comments
Login as arbitrary user when acting as admin
12 votes · 0 comments
Ability to login to directus using access token of a configured provider.
2 votes · 0 comments
API Testing UI (Swagger-like) with Role-Based Simulation
5 votes · 0 comments
No comments yet.