OAuth2 서버 엔드포인트

· 기능

기본적으로, the OAuth2 Server uses the following Endpoints:

  권한 부여: /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:

  권한 부여: 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 권한 부여 and Token URLs.

Example: if your endpoints must be

  권한 부여: https://80.54.41.30:8443/인증/auth

  Token: https://80.54.41.30:8443/인증/token

Set the OAuth2Options property with the following values:

  OAuth2Options.권한 부여.URL = /인증/auth

  OAuth2Options.Token.URL = /인증/token