zorn-v / nextcloud-social-login

GNU Affero General Public License v3.0
198 stars 137 forks source link

Prompt after configuring Custom OAuth1 and logging in: Signed API request to http:// has returned an error. HTTP error 0. Raw Provider API response: . #362

Closed axty666 closed 2 years ago

axty666 commented 2 years ago

Use:WP REST API - OAuth 1.0a Server + WordPress as th OAuth1 server. Configure according to WP-API/OAuth1/blob/master/docs/basics/Auth-Flow.md's documentation. But when I actually tested, it said: Signed API request to http:// has returned an error. HTTP error 0. Raw Provider API response: . I don't think this is the problem of the server, because it doesn't seem to be a mistake in the authorization process.

zorn-v commented 2 years ago

HTTP error 0 means there is no response at all. And yes, this means problem with connect to server from nextcloud.

axty666 commented 2 years ago

How can I check the problem properly?

zorn-v commented 2 years ago

Try to run curl http://oauth-endpoint on nextcloud machine/container. Where http://oauth-endpoint is you configured endpoint

axty666 commented 2 years ago

curl received all oauth-endpoint and received responses

zorn-v commented 2 years ago

Wait, your error looks exactly what you wrote (Signed API request to http:// has returned an error.) ? If yes, then you do not configure it properly as there is no url at all.

axty666 commented 2 years ago

I see. Thank you very much