To use OAuth, you must enable it in Identity Server. Otherwise, the configuration will not work.
On the Home page, click Identity Servers > [cluster name] > Configuration.
In the Enabled Protocols section, select OAuth & OpenID Connect.
Click Save and update Identity Server.
NOTE:For OAuth authorization, Identity Server, and ESP must be enabled with SSL.