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
Why isn't "full_host" configurable through the options hash? #835
I'm just wondering why a method like path_prefix is defined as:
def path_prefix
options[:path_prefix] || OmniAuth.config.path_prefix
end
and takes into account the prefix_path passed as an option, but the full_host method doesn't check for the presence of the full_host key in the options hash, and just relies on OmniAuth.config.full_host.
Both are used to build the callback_url, although it's not the only use of these 2 methods.
changed the title [-]Why isn't "full_path" configurable through the options hash?[/-][+]Why isn't "full_host" configurable through the options hash?[/+]on Feb 2, 2016
Added in 39e44e4: strategies now take a full_host option (a string or a proc that takes the env), which takes precedence over OmniAuth.config.full_host. This will ship in 2.2.0.
Activity
[-]Why isn't "full_path" configurable through the options hash?[/-][+]Why isn't "full_host" configurable through the options hash?[/+]Add a full_host option for each strategy
sferik commentedon Oct 20, 2026
Added in 39e44e4: strategies now take a
full_hostoption (a string or a proc that takes the env), which takes precedence overOmniAuth.config.full_host. This will ship in 2.2.0.