Oauth Applications for Integrating as Oauth V2 Authentication #5285
Unanswered
pj1527
asked this question in
Support request - DO NOT OPEN HERE
Replies: 1 comment 1 reply
-
What I ended up doing for now is adding an input field for orgID in the authorization step which gets passed as a header. You can then just validate that that user has access to that orgID. The better long-term approach is to use a computed field that queries for the users organizations but I haven't actually validated that yet. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, I need some guidance here.
Context: I am working on creating a zapier integration where I want to use Clerk for authentication. In order to do that, I created an Oauth Application in my Clerk dashboard which got me
client_id
client_secret
and urls such asauthorize
token
userinfo
etc.So in my zapier integration I first use the
authorize
url to login the user and get a authorization code which is then exchanged immediately using thetoken
url, now I expected thetoken
url to return a jwt access token but it is returning me a non jwt access token.The idea is to use the access token and use it for authenticating subsequent calls to my backend.
For reference, I am validating the token using a method like the one below:
So is it normal for Clerk to return non jwt access tokens or is there something wrong with my configuration ?
If it is normal, how can I get a jwt token which I can use with my backend ?
Beta Was this translation helpful? Give feedback.
All reactions