Standaard gebruikt de OAuth2-server de volgende eindpunten:
Autorisatie: /sgc/oauth2/auth
Token: /sgc/oauth2/token
Intrekking: /sgc/oauth2/revoke (POST) - Trekt tokens in conform RFC 7009
Introspectie: /sgc/oauth2/introspect (POST) - Retourneert tokenmetadata per RFC 7662
Device Authorization: /sgc/oauth2/device (POST) - Geeft apparaatcodes uit per RFC 8628
Apparaatverificatie: /sgc/oauth2/device/verify (GET/POST) - Gebruikersverificatiepagina
Dit betekent dat als uw server luistert op IP 80.54.41.30 en poort 8443, de volledige OAuth2-eindpunten zullen zijn:
Autorisatie: https://80.54.41.30:8443/sgc/oauth2/auth
Token: https://80.54.41.30:8443/sgc/oauth2/token
Intrekking: https://80.54.41.30:8443/sgc/oauth2/revoke
Introspectie: https://80.54.41.30:8443/sgc/oauth2/introspect
Device Authorization: https://80.54.41.30:8443/sgc/oauth2/device
Apparaatverificatie: https://80.54.41.30:8443/sgc/oauth2/device/verify
Deze eindpunten kunnen eenvoudig worden aangepast; ga naar de eigenschap OAuth2Options van het component en wijzig de URL's voor Autorisatie en Token.
Voorbeeld: als uw eindpunten moeten zijn
Autorisatie: https://80.54.41.30:8443/authentication/auth
Token: https://80.54.41.30:8443/authentication/token
Stel de eigenschap OAuth2Options in met de volgende waarden:
OAuth2Options.Authorization.URL = /authentication/auth
OAuth2Options.Token.URL = /authentication/token
Dezelfde aanpak geldt voor de andere endpoints:
OAuth2Options.Revocation.URL = /authentication/revoke
OAuth2Options.Introspection.URL = /authentication/introspect
OAuth2Options.DeviceAuthorization.URL = /authentication/device
OAuth2Options.DeviceAuthorization.VerificationURL = /authentication/device/verify