You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using a custom provider that bridges two different providers. First I request a token from the first provider, and then use the id_token from that provider to get a new access_token from the second provider. This second provider is the token I need to store in the JWT cookie.
Inside the request where I use the "getProviderToken" method, I need to read the original providers token_endpoint, but this endpoint is not present on the request object in the request handler. Is there a way to read this or do I need to hard code it for each provider?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I'm using a custom provider that bridges two different providers. First I request a token from the first provider, and then use the id_token from that provider to get a new access_token from the second provider. This second provider is the token I need to store in the JWT cookie.
Inside the request where I use the "getProviderToken" method, I need to read the original providers token_endpoint, but this endpoint is not present on the request object in the request handler. Is there a way to read this or do I need to hard code it for each provider?
Beta Was this translation helpful? Give feedback.
All reactions