lynndylanhurley / lynndylanhurley/devise_token_auth
No route matches [POST] "/auth/:provider"
- Dominant language
- Ruby
- Stars
- 3.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Not using any of the existing client side integration libraries, how would I redirect users to the provider auth page?
I tried setting up a form posting to the above url, but it seems that there's no such route in `rails routes`.
I also tried using get request to `/auth/:provider` which then gets redirected to `/omniauth/:provider?resource_class=User`, however also getting `No route matches [GET] "/omniauth/:provider"` error message
Contributor guide
Research direction
Start by reproducing the reported requests against the Rails route table: POST /auth/:provider, GET /auth/:provider, and /omniauth/:provider. Compare the available routes with the documented behavior for users who are not using a client-side integration library; done means the supported redirect flow is clear and the reported route errors are resolved or explicitly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- api, authentication, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100