Skip to content

callback url does not work proberly #3

@plaftmp

Description

@plaftmp

Hi.

When i use this strategy, i get the following error after i login.

invalid_redirect_uri: redirect_uri for token request does not match redirect_uri for code request {"error":"invalid_redirect_uri","error_description":"redirect_uri for token request does not match redirect_uri for code request"}

Happen when it tries to get a token.

When i check what redirect uri i sent i get: http://seetest.dev:3006/auth/createsend/callback?code=a_code&state=a_state

If i set manualy the redirect uri in gems/oauth2-1.2.0/lib/oauth2/client.rb to : http://seetest.dev:3006/auth/createsend/callback the flow to get the token will work

Is that a problem with this strategy or with the api wich doesn't allow redirect url with params?

Thanks in advance

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