Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

oauth2-client-configuration error #276

Closed
icecoldlilly opened this issue Jan 22, 2017 · 11 comments
Closed

oauth2-client-configuration error #276

icecoldlilly opened this issue Jan 22, 2017 · 11 comments

Comments

@icecoldlilly
Copy link

Hello, I have my WordPress setup on Heroku using https://github.com/xyu/heroku-wp as my template. I've been getting this error whenever I am trying to go through the social setup wizard
image

@glena
Copy link
Contributor

glena commented Jan 23, 2017

Hi @hilalh

are permalinks working properly?
can you try to go to the permalinks configuration and use one that is not the default with GET params, this way wordpress will push the rewrite configurations.

@glena
Copy link
Contributor

glena commented Jan 23, 2017

Also, I see this template is using Nginx. It might be something related to that. The plugin declares some custom routes, /.well-known/oauth2-client-configuration is one of them.

@glena
Copy link
Contributor

glena commented Jan 23, 2017

I tried to repro but I cannot installe it, I am having this error wp: command not found.

@icecoldlilly
Copy link
Author

I suspect Nginx as well but I couldn't get to the settings of it through the repo I used.
I changed the permalinks to one of the other options, but I get the same error.

@icecoldlilly
Copy link
Author

When I try to setup it manually (no internet connection) everything goes well until the migration stage of the admin user. When I am asked to choose a password I get the following error (top one only)

@icecoldlilly
Copy link
Author

icecoldlilly commented Jan 25, 2017

image
image

@glena
Copy link
Contributor

glena commented Jan 25, 2017

That is a real bug :P

I will try to take a look tomorrow.

In the meantime, can you check if there is any connection created by the plugin (it should be named DB- + your site name)

Also, can you share your account name?

@icecoldlilly
Copy link
Author

icecoldlilly commented Jan 25, 2017

I don't have that type of connection. I only have the default "Username-Password-Authentication"
image

@glena
Copy link
Contributor

glena commented Jan 26, 2017

do the following, go to the configuration under the basic tab, and make sure there is no client_id configured. if there is one, delete and save and try again

@icecoldlilly
Copy link
Author

That worked out! Make sure to include this in the documentation as it could be confusing. I deleted both the client secret and client id and went through the manual wizard again.

@glena
Copy link
Contributor

glena commented Jan 27, 2017

The thing is that when the client_id is configures, it assumes you are trying to update the api token, but I agree it should be more explicit.

Thank you for the feedback and sorry for the trouble.

@glena glena closed this as completed Jan 27, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants