Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOAuth internal redirects discard API prefixes #2031
Comments
|
I was imagining it would be possible to pass in a |
I am trying to implement Google OAuth authentication in my FeathersJS (4.5.7) application. I have an API listening to
/api/v1prefix - done by wrapping the feathers application within another express application. (Similar to this comment)Expected behavior
Going to
/api/v1/oauth/googleshould redirect users to/api/v1/oauth/connect/google.Actual behavior
Redirecting to
/oauth/connect/google, discarding the API prefix and leading toCANNOT GET /oauth/connect/googlepage.My authentication config in
config.jsonAnd my
authentication.jsfile