/authenticate route to get the Bearer Token of the user given their username and pass using Clerk
How can I fix this httpAction to use Clerk to get the Bearer token of the user based on the username and password that the user will provide in the request body of the api call to convex:
3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
Is that something that Clerk supports? You want to do this the same way you would in another HTTP server.
I looks like you have some code, where is this from? Is this not working? What error do you see?
nvm I was able to figure it out using a combination of their backend sdk and their api