Follow these simple steps to use WordPress as an OAuth2 Server for SSO:
- Go to OAuth client tab and Add new client.
- Configure client with client name and Authorized Redirect URI which you will be callback URL for your client.
- You will get client Id and client secret after you save.
- Go to How to setup tab and you find values for scope and endpoints you need to configure in you client.
- Configure your client with above values.