Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This topic includes a list of all the WSO2 Identity Server extension points related to OAuth and OpenID Connect (OIDC).

...

Client Authentication Handler

UsageThis extension point can be used when the client credential authentication needs to be customized when issuing tokens. By default the Identity Server validate validates the client id and secret.
Interfaceorg.wso2.carbon.identity.oauth2core.token.handlers.clientauth.ClientAuthenticationHandlerhandler.AbstractIdentityHandler
Abstract Classorg.wso2.carbon.identity.oauth2.tokenclient.handlersauthentication.clientauth.AbstractClientAuthHandlerAbstractOAuthClientAuthenticator
Default Implementation

org.wso2.carbon.identity.oauth2.token.handlers.clientauth.BasicAuthClientAuthHandler

Configuration
Code Block
languagexml
<ClientAuthHandlers>
	...
	<ClientAuthHandler class<EventListener type="org.wso2.carbon.identity.core.handler.AbstractIdentityHandler"  name="full qualified class name of client authentication handler" orderId="order Id" enable="true">
	</ClientAuthHandler>  <Property name="name">property value</Property>
</ClientAuthHandlers>EventListener>

OAuth Token Generator

UsageThis extension point can be used to change the access token, refresh token, authorization code generation logic as preferred. By default a UUID will be generated as the token value.
Interfaceorg.wso2.carbon.identity.oauth2.token.OauthTokenIssuer
Default Implementation

org.wso2.carbon.identity.oauth2.token.OauthTokenIssuerImpl

Other Available Implementationsorg.wso2.carbon.identity.oauth2.token.JWTTokenIssuer
Configuration
Code Block
languagexml
<IdentityOAuthTokenGenerator>full qualified class name of oauth token generator</IdentityOAuthTokenGenerator>

...