Firstly, create a new file called oidc-sp-config.xml
in the <IS_HOME>/repository/conf/identity/
directory.
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>
Replace the values in the configuration with the relevant details for your OAuth/OpenID Connect service provider.
Save the oidc-sp-config.xml
file and restart the WSO2 Identity Server.
Once the server has restarted, the OAuth/OpenID Connect service provider should be available for use.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-02-13 11:00:00 +0000
Seen: 7 times
Last updated: Nov 06 '21
What are the possible situations in which microservices can fail?
How can the argument of Jest Mock Service be made assignable?
What does it mean when API Gateway gives a 503 Service Unavailable error?
How can dependency injection be implemented for classes in Stripe.Net?
What is the process of uploading files to OSS cloud service using Flutter?