Skip to content

out 400: redirect_uri_mismatchΒ #41

@RYNtje

Description

@RYNtje

I started to use this repository but struggeling with the google authentication.
I want use add and modify contacts from my php website.
Therefore I added a credential (type web application) as mentioned in the setup

When is do the setup "php vendor/rapidwebltd/php-google-oauth-2-handler/src/setup.php" i enter the credentials given by google and add the required scopes. The I receive from the set up a long webadres. I copy it and paste in my browser.
The I receive an error:

out 400: redirect_uri_mismatch
The redirect URI in the request, urn:ietf:wg:oauth:2.0:oob,
can only be used by a Client ID for native application.
It is not allowed for the WEB client type.

This error is mentioned earlier in this forum, but the answer was to use type "other".
But this option is not available anymore.
Does anyone know how to exactly setup the google credentials?

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