Skip to content

Empty env['omniauth.params'] on callback #115

Open
@dvkch

Description

@dvkch

Hi there,

I have been using omniauth in a Rails app for multiple models, currently adding a param on the authorization URL to known which class to create once redirected. Unfortunately the current implementation of callback_url in this gem ignores the query params. The original implementation of this method in the base OAuth strategy correctly adds this query string.

Would it be possible to change

        options[:redirect_uri] || (full_host + callback_path)

into

        options[:redirect_uri] || super

Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions