Open
Description
I call access_token_required! in several of my api endpoints, but not in the UserLogin endpoints.
if I do the following
mount Api::UserLogin
mount Api::SomeOtherEndpoint
I get a 401 error when attempting to log in, even though access_token_required! is not being used in that file.
If I do the following instead
include Grape::OAuth2.api
mount Api::SomeOtherEndpoint
Then the user login controller is called without checking for an access token.