zorn-v / nextcloud-social-login

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

Unauthorized or Can not get identifier from provider #302

Closed ZhaoJiwu closed 2 years ago

ZhaoJiwu commented 2 years ago

I have a app that acts as an Oauth2 provider and I'm trying to add Nextcloud as a client.

Client Type: confidential Authorization Grant Type: authorization-code

I have got code through 'Authorize url', and I have also got authentication through' Token url', but when I go to get user information through URL, I am prompted that it is not unauthorized. If I allow 'Profile url' access in oauth, it doesn't carry any evidence, and I don't have any conditions to find out which user it belongs to.

zorn-v commented 2 years ago

https://github.com/zorn-v/nextcloud-social-login/issues/304