Configure Open edX as an OAuth 2.0 authentication provider
Open edX Platform can be configured as an OAuth 2.0 provider. Follow the steps below:
- Log in to the server console.
- Navigate to the /opt/bitnami/apps/edx/conf directory.
- Modify the lms.env.json file and set ENABLE_OAUTH2_PROVIDER to True.
- Modify the cms.env.json file and set ENABLE_OAUTH2_PROVIDER to True.
Restart the Apache server:
$ sudo /opt/bitnami/ctlscript.sh restart apache
You should now be able to access the OAuth 2.0 access token by sending a POST request to http://SERVER-IP/oauth2/access_token.