-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
validate_token route omits specified json format #1031
Comments
#1032 fix only defaults for validate_token path
rake routes
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At each request /api/v1/auth/validate_token browser gets response in JSON format, but it is logged like HTML.
rails server log:
In browser response is returned like JSON
Request headers:
Response headers:
routes.rb
rake routes
I also noticed some strange path helpers name api_v1_auth_validate_token and api_v1_auth_failure. It could be unnoticed when routes were written with namespace.
I don't use omniauth. May further paths be duplicates for GET method?
Or did I make something wrong?
The text was updated successfully, but these errors were encountered: