I am creating a ouath 2.0 system in ruby ββon rails using Doorkeeper . My resource server is protected by the doorkeeper_for method and is separate from the authorization server, and I use an implicit grant flow. So I get the access token from the auth server and then make a request to the resource server this way: localhsot: 3000 / pages? Access_token = XXXX, but when the resource server reads the access token, it tries to find the token in its own database, and not in the authentication server database, so I get 401 Unautorized error. How can i solve this?
source share