Table of Contents |
---|
...
Another scenario for this feature is in the WSO2 Identity Server. The SAML2 Assertion Profile for OAuth2 uses these registered Identity Providers of the tenant to verify the SAML2 assertion.
Adding a trusted identity provider
- Log into the product's management console.
- On the Configure menu, click Trusted Identity Providers.
- Click on Add New Trusted Identity Provider .
- Enter the i dentity provider's name. This should be a unique name of this identity provider across this tenant.
- Enter the issuer name of this identity provider. This will be used for validating the issuer name of the SAML token when using the validation APIs.
- If this is the primary identity provider for this tenant, select the Primary Identity Provider option.
The first identity provider registered would be the primary identity provider by default. - Enter the identity provider's URL.
- Upload the public certificate of the identity provider. This will be used for validating SAML token signatures when using the validation APIs.
- Click Add Role and add an identity provider Role. These will be the roles that are registered for this tenant at the identity provider.
- Upload the role mappings file. This file will map the identity provider roles to tenant roles in the Identity Server.
- Click Add Audience and add the m andatory audience restriction elements that need to be present in the SAML token when it is to be used by this tenant for any purpose.
This will be used for validating SAML token Audience Restriction when using the validation APIs. - Enter the OAuth2 Token Endpoint URL or any alias used to refer to it uniquely within the tenant. This will be used when validating the audience restriction of the SAML token under the SAML2 Assertion Profile for OAuth2.
- Click Register. The newly added Identity provider will appear in the registered identity provider list.
Editing a trusted identity provider
- Log into the product's management console.
- On the Configure menu, click Trusted Trusted Identity Providers . If identity providers have been added previously, the list of currently added identity providers will be provided.
Click Edit.
Edit the trusted identity provider details as required. For more details on each of the respective fields, see Managing Trusted Identity ProvidersAdding a trusted identity provider.
Click Update.
Deleting a trusted identity provider
Log into the product's management console.
On the Configure menu, click Trusted Trusted Identity Providers . If identity providers have been added previously, the list of currently added identity providers will be provided.
Click Delete.
Click Yes, when the confirmation message box appears.