Repository navigation
Do not override omniauth.origin in environment in test mode - #1134
Conversation
|
@BobbyMcWho I've addressed your comment, could you take another look please? |
|
@BobbyMcWho the test failures are unrelated to this change. The The |
|
@BobbyMcWho could we get a new Omniauth release that includes this change? Looks like there hasn't been a new release in nearly a year. |
|
The project is considered stable and in maintenance, I'll look into releasing, but typically don't release small things like this alone |
I'm attempting to write a test for our authentication callback Rails controller, however using
ActionDispatch::IntegrationTestit is not possible to modify thesession. This change makes it easy to test.Fixes #934
Example with Rails: