Skip to content

Incompatible with oauth2 extension #27

Description

@maikschneider

When using the ext-oauth2-client extension, the login process throws an In2code\Instagram\Exception\ConfigurationException.

This is due to the identical query parameter code in the returnUrl which the GetAuthenticationCode middleware falsely interprets the request as an authentication redirect of instagram.

Since the oauth redirect contains more parameter than just code, I would add an additional check for the amount of parameters in the isInstagramAuthentificationRedirect.

PR will follow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions