auth0-samples / auth0-rubyonrails-sample

Auth0 Integration Samples for Ruby on Rails Web Applications

Home Page:https://auth0.com/docs/quickstart/webapp/rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dashboard controller test fails

kitpao opened this issue · comments

I'm guessing that since you protect the dashboard page with "Secured" module, now if you try to get to the dashboard page it gets the redirected status. I'm wondering how to do the tests for this new behavior?

  • The one for a log out user, is easy, you know the response will have the redirection
  • The one for a log in user needs to mock the session hash... how do you do this with auth0??
commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you have not received a response for our team (apologies for the delay) and this is still a blocker, please reply with additional information or just a ping. Thank you for your contribution! 🙇‍♂️