Search code examples
wso2-api-manageropenid-connectfederationwso2-identity-server

WSO2 API Manager Federated IDP Access Token


How can I pass the access token created on an OpenIdConnect Federated IDP to the developer application?

Currently, the federated access token doesn't get passed through the API Manager and the API Manager generates a new access token for the application.


Solution

  • You won't be able to plug in an external IDP and generate access tokens using an out-of-the-box API Manager. But you can implement a custom keymanager implementation and plug external third party keymanager to API manager and then use that tokens. See Configuring a Third-Party Key Manager in the product documentation regarding this. It has a sample where "Surf OAuth Authorization Server" is use as the key manager. You will be able to implement similar thing for your scenario.

    following are some good posts related to this feature.

    https://amilasnotes.wordpress.com/2015/06/20/customizing-key-validation-flow/ https://amilasnotes.wordpress.com/2015/05/19/integrating-with-a-third-party-oauth-provider-overview/ https://amilasnotes.wordpress.com/2015/06/07/provisioning-oauth-clients-created-out-of-band/