You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Document should mention every variable related to OmniAuth inside request.env #909
Apparently, omniauth.params and omniauth.origin existed for years, but they are not documented. This tripped me up for a while finding the solution to some problems. These should be documented.
Reacted by Jeremy Venezia, Aurel Branzeanu and Adam Spiers
Done in 16ec18a: the README now has a section listing every Rack env key OmniAuth sets: omniauth.auth, omniauth.origin, omniauth.params, and omniauth.strategy on the callback, plus omniauth.error, omniauth.error.type, and omniauth.error.strategy on failure.
Activity
aspiers commentedon Nov 10, 2019
omniauth.originis documented here:https://github.com/omniauth/omniauth/wiki/Saving-User-Location
It's not easy to find, but at least it's there now.
However
omniauth.paramsis still not documented.aspiers commentedon Nov 10, 2019
Worse,
omniauth.paramsis unusable if you care about writing safe code. I've filed #975 to cover the details of that.Document the Rack env keys OmniAuth sets
sferik commentedon Oct 20, 2026
Done in 16ec18a: the README now has a section listing every Rack env key OmniAuth sets:
omniauth.auth,omniauth.origin,omniauth.params, andomniauth.strategyon the callback, plusomniauth.error,omniauth.error.type, andomniauth.error.strategyon failure.