Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version
  1. Firstly, create a new file called oidc-sp-config.xml in the <IS_HOME>/repository/conf/identity/ directory.

  2. In the oidc-sp-config.xml file, add the following configuration:

<OAuth>

<OpenIDConnect>

<ServiceProviders>

<ServiceProvider>

<ClientId>[client_id]</ClientId>

<ClientSecret>[client_secret]</ClientSecret>

<CallBackURL>[callback_url]</CallBackURL>

<Name>[name]</Name>

<AuthorizeEndpoint>[authorize_endpoint]</AuthorizeEndpoint>

<TokenEndpoint>[token_endpoint]</TokenEndpoint>

<UserInfoEndpoint>[user_info_endpoint]</UserInfoEndpoint>

<JWKSEndpoint>[jwks_endpoint]</JWKSEndpoint>

<LogOutEndpoint>[logout_endpoint]</LogOutEndpoint>

</ServiceProvider>

</ServiceProviders>

</OpenIDConnect>

</OAuth>

  1. Replace the values in the configuration with the relevant details for your OAuth/OpenID Connect service provider.

  2. Save the oidc-sp-config.xml file and restart the WSO2 Identity Server.

  3. Once the server has restarted, the OAuth/OpenID Connect service provider should be available for use.