PHP error with oauth2

There was a “jwt_bearer” and I removed it as requested:

Then I went to the previous step, created a new API action and tried to display in browser again:

Here is my google OAuth 2.0 Client IDs setup:

The main issue started when I tried to follow this tutorial : Google Service Account Authorization with JWT

Remove this comma as well as the code has syntax error:

And never post client secret in public posts in the future as this is a security risk.

1 Like

Thank you for the fast reply and heads up on the pic info.
Now it went to the proper log in… I will continue with the tutorial.

Thank you all for the help, now it goes through but it gets me in a loop when I try to log in.
It does not go to the account page or create a new user I find it strange that the username is connected to the email and not the “google name” and another field for the email itself!