Ask Your Question
0

How can the WSO2 IS Oauth / OpenId Connect Service Provider be added through the use of configuration files?

asked 2022-02-13 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-11-06 18:00:00 +0000

lalupa gravatar image
  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.

edit flag offensive delete link more

Your Answer

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

Add Answer


Question Tools

Stats

Asked: 2022-02-13 11:00:00 +0000

Seen: 7 times

Last updated: Nov 06 '21