Skip to content

How to use an impersonated token from token exchange? #31

Description

@danielloader

Hey, I've implemented a backend handler to take the access token from the frontend and a target userid, and if the roles/permissions are all good, permits them to exchange their token for the target token.

This all works and the endpoint is returning the JWT as expected with the correct sub and audiences.

How can I then use this in this library to "swap" the session to the impersonated token?

Thanks.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type
No fields configured for issues without a type.

Projects

Status
🧐 Investigating

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions