Use req.params[] instead of req[], which was removed in rack 3.1.0#122
Conversation
use req.params[] instead of req[], which was removed in rack 3.1.0 rack/rack#2183
in registration_phase method
|
Thanks! Please rebase on latest master branch. |
|
This a duplicate of #116, but closing that one, and keeping this one. |
|
Merging this because it passed the build on some Rubies. Will fix the others at some point, or someone can send a PR. |
|
Any idea when this will be pushed into the wild? My bundle keeps pulling 3.0.9 which I think is 3 years old. |
|
I'll work on getting a release out. |
|
I don't think this is correct: I've have an error come back saying req does not have a params (Its seems to already be the params). I also seem to be getting a rack error (something like response[2]=... []= no method for nil. I have tried to trace this down and I can't see what's generating it. Just know that master causes it and my personally patched version of 3.0.9 does not. This seems to occur most on Register new user. |
|
@scott8803 Thanks for the report. What version of |
|
@scott8803 This fix is for compatibility with Rack v3.1+. Please check your rack version! |
|
Will do. Sorry I’ve been traveling and hadn’t been able to assist. On Nov 18, 2024, at 11:21 AM, Peter Boling ***@***.***> wrote:
@scott8803 This fix is for compatibility with Rack v3.1+. Please check your rack version!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
Fix is released in v3.1.0 and v3.1.1! |
use req.params[] instead of req[], which was removed in rack 3.1.0
rack/rack#2183
the omniauth-identity worked with the following warning in rack 3.0.x
However, omniauth-identity no longer works with an error in rack 3.1.x and needs to be fixed.
See also #116