Auth0 Home Blog Docs

RoR Web Api, Sharing jwt between 2 different clients

jwt
clients

#1

I started this question before, and there was at the moment a lack of example/documentation for this.
Wondering if there is something related now.

https://auth0.com/forum/t/sharing-jwt-between-2-different-clients/5302 &
https://auth0.com/forum/t/sharing-jwt-between-2-differe/5345/5

Thanks in advance


#2

There’s a quickstart about how to configure a RoR API to accept JWT access tokens issued by Auth0 as means of authorizing the request.

https://auth0.com/docs/quickstart/backend/rails

Your client application would then obtain the access token using the means applicable for the type of client application.


#3

Hello @jmangelo ,

The issue is how to use different client_ids for each client.
I mean, all the clients, will validate the credentials with the same API, but I want different permissions depending the client.
Example
Backend app - (ClientId 1)
Frontend app - (ClientId 2)
Android app - (ClientId 3)


#4