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 80.54.41.30 and port 8443, the full OAuth2 Endpoints will be:

  Authorization: https://80.54.41.30:8443/sgc/oauth2/auth

  Token: https://80.54.41.30:8443/sgc/oauth2/token


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

  Authorization: https://80.54.41.30:8443/authentication/auth

  Token: https://80.54.41.30:8443/authentication/token

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