OAuth2 Server Endpoints

By default, the OAuth2 Server uses the following Endpoints:

  Authorization: /sgc/oauth2/auth

  Token: /sgc/oauth2/token

Which means that if your server listens on IP and port 8443, the full OAuth2 Endpoints will be:



Customize Endpoints

This Endpoints can be modified easily, just access to OAuth2Options property of component and modify Authorization and Token URLs.

Example: if your endpoints must be



Set the OAuth2Options property with the following values:

  OAuth2Options.Authorization.URL = /authentication/auth

  OAuth2Options.Token.URL = /authentication/token 

Stay Informed

When you subscribe to the blog, we will send you an e-mail when there are new updates on the site so you wouldn't miss them.

OAuth2 Server Register Apps
OAuth2 Server Authorization

Related Posts