Ready to post? First, try searching for your answer.
The WordPress social connection has stopped working due to a missing scope parameter.
When I try to log in, I get directed to https://public-api.wordpress.com/oauth2/authorize?login_hint=&prompt=login&response_type=code&redirect_uri=https%3A%2F%2Fexample.eu.auth0.com%2Flogin%2Fcallback&scope=profile&state=123&client_id=456
That shows the error:
Invalid request, please go back and try again.
Error Code: invalid_request
Error Message: Invalid "scope". See https://developer.wordpress.com/docs/oauth2/#token-scope.
If I manually add &scope=auth
to the URl, it allows me to log in.
Note: This was previously working - but something at Auth0’s end has broken in the last few weeks. I have not changed anything in either Auth0 or my WordPress app.
Please can someone from Auth0 fix their built in social connection for WordPress as per OAuth2 Authentication – WordPress.com Developer Resources