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
When creating a Session Token using Sessions.CreateSessionTokenAsync, the JWT returned does not have an azp (authorized parties) claim.
This is likely because there is no Origin header associated with the request.
It's desirable for tokens to have the azp claim so that the application's backend can verify tokens in a consistent way.
Would it be possible to provide a way to specify the Origin as part of this request?
Or easily set common headers when constructing the ClerkBackendApi?
At this time, it seems I would need to implement ISpeakeasyHttpClient to accomplish this.
The text was updated successfully, but these errors were encountered:
When creating a Session Token using
Sessions.CreateSessionTokenAsync
, the JWT returned does not have anazp
(authorized parties) claim.This is likely because there is no Origin header associated with the request.
It's desirable for tokens to have the
azp
claim so that the application's backend can verify tokens in a consistent way.Would it be possible to provide a way to specify the Origin as part of this request?
Or easily set common headers when constructing the
ClerkBackendApi
?At this time, it seems I would need to implement
ISpeakeasyHttpClient
to accomplish this.The text was updated successfully, but these errors were encountered: