Connecting to the roles endpoint from a Rails app

We’ve got our Rails app connected to the Authentication API and everything is working fine. We’re running into a problem with retrieving roles, getting an “Expired token received for JSON Web Token validation” error. We’re passing through the Management API token in the authorization header, but from my reading I don’t think that’s correct.

Do we need to create a separate Application in the management console for a machine-to-machine application?

Any tips would be greatly appreciated. Thanks!

Hi @coraline,

Welcome to the Community!

You should be able to request tokens for the management API in your rails app. How are you requesting the token? Is it in-fact expired?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.