Our observatory runs a site with Django OAuth Toolkit installed. I’m trying to configure Openedx (sumac) to use the observatory OAuth provider for login. After setting up a client on our observatory site, I tried setting this up in the OpenEdx django admin under:
Home › Third-party authentication › Provider Configuration (OAuth)
- Check ‘enable’
- Check ‘visible’
- Select google-oauth2 (even though we are using a non-Google provider because there is no option for generic)
- Enter client secret
- Enter client ID
I tried going to the link suggested in the docs:
http://local.openedx.io:8000/auth/complete/google-oauth2/
but I get a Django error page saying “Can’t fetch setting of a disabled backend/provider.”
Anyone have experience setting up OAuth2 authentication with a third-party (but not a social) provider?