Any gem that can be used to integrate auth0 in rails api codebase that work seamlessly.
We have used knock gem, but for every request it fires database query to get user information.
Any gem that can be used to integrate auth0 in rails api codebase that work seamlessly.
We have used knock gem, but for every request it fires database query to get user information.
If you check the Rails API quickstart you’ll see a sample implementation that authorizes each endpoint by only validating the access token included in the request. This approach meets your stateless requirement and you could also extend it to validate additional custom information that you may include in the access token.