Closed SidSidSid16 closed 2 years ago
I have a Django app that acts as an Oauth2 provider and I'm trying to add Nextcloud as a client.
www.example.com => Oauth2 Provider (Django app) cloud.example.com => Nextcloud
Django Configuration Redirection URI: https://cloud.example.com/apps/sociallogin/custom_oauth2/WM Client Type: confidential Authorization Grant Type: authorization-code
Social Login Configuration Internal name: WM API Base URL: https://www.example.com/o/ Authorize URL: https://www.example.com/o/authorize/ Token URL: https://www.example.com/o/token/ Profile URL: https://www.example.com/o/resources/user Logout URL: Scope: read Profile Fields: username Groups claim:
After signing in, I am given an error message stating "Can not get identifier from provider", what is causing this error and how do I fix this?
Does your django app supports OpenID connect ?
Same error occurs while trying to use discord external oauth2-provider (I won't use the discord box below because I would like to integrate role mapping).
https://github.com/zorn-v/nextcloud-social-login/issues/304
I have a Django app that acts as an Oauth2 provider and I'm trying to add Nextcloud as a client.
www.example.com => Oauth2 Provider (Django app) cloud.example.com => Nextcloud
Django Configuration Redirection URI: https://cloud.example.com/apps/sociallogin/custom_oauth2/WM Client Type: confidential Authorization Grant Type: authorization-code
Social Login Configuration Internal name: WM API Base URL: https://www.example.com/o/ Authorize URL: https://www.example.com/o/authorize/ Token URL: https://www.example.com/o/token/ Profile URL: https://www.example.com/o/resources/user Logout URL: Scope: read Profile Fields: username Groups claim:
After signing in, I am given an error message stating "Can not get identifier from provider", what is causing this error and how do I fix this?