Varsayılan olarak, OAuth2 Sunucusu aşağıdaki Uç Noktaları kullanır:
Authorization: /sgc/oauth2/auth
Token: /sgc/oauth2/token
Revocation: /sgc/oauth2/revoke (POST) - RFC 7009'a göre token'ları iptal eder
Introspection: /sgc/oauth2/introspect (POST) - RFC 7662'ye göre token meta verilerini döndürür
Device Authorization: /sgc/oauth2/device (POST) - RFC 8628 uyarınca cihaz kodları verir
Cihaz Doğrulaması: /sgc/oauth2/device/verify (GET/POST) - Kullanıcı doğrulama sayfası
Bu, sunucunuz IP 80.54.41.30 ve port 8443 üzerinde dinliyorsa, tam OAuth2 Uç Noktalarının şöyle olacağı anlamına gelir:
Authorization: https://80.54.41.30:8443/sgc/oauth2/auth
Token: https://80.54.41.30:8443/sgc/oauth2/token
İptal: https://80.54.41.30:8443/sgc/oauth2/revoke
Introspection: https://80.54.41.30:8443/sgc/oauth2/introspect
Device Authorization: https://80.54.41.30:8443/sgc/oauth2/device
Device Verification: https://80.54.41.30:8443/sgc/oauth2/device/verify
Bu Uç Noktalar kolayca değiştirilebilir, yalnızca bileşenin OAuth2Options özelliğine erişin ve Authorization ve Token URL'lerini değiştirin.
Örnek: uç noktalarınızın şöyle olması gerekiyorsa
Authorization: https://80.54.41.30:8443/authentication/auth
Token: https://80.54.41.30:8443/authentication/token
OAuth2Options özelliğini aşağıdaki değerlerle ayarlayın:
OAuth2Options.Authorization.URL = /authentication/auth
OAuth2Options.Token.URL = /authentication/token
Aynı yaklaşım diğer uç noktalar için de geçerlidir:
OAuth2Options.Revocation.URL = /authentication/revoke
OAuth2Options.Introspection.URL = /authentication/introspect
OAuth2Options.DeviceAuthorization.URL = /authentication/device
OAuth2Options.DeviceAuthorization.VerificationURL = /authentication/device/verify