Can OAuth policy be extended to verify the claims provided by user from a third party system

Hello,

In this case the access token needs to be generated by ApiGee(With client credentials verification) but after verifying the details coming from user with a third party system.

The verification API is a soap webservice. So can we use service-callout-policy here to connect to the third party system for verification and then conitnuing with the general OAuth flow. Or is there a better way?

Regards,

Fatema

0 3 83
3 REPLIES 3

Is the token an opaque OauthV2 token that has been issued by Apigee Edge?

If so, that seems like a reasonable approach.

  • VerifyAccessToken
  • ServiceCallout to verify additional claims

If the inbound token is a JWT, you may not need an external service to do the validation of claims. The VerifyJWT policy will verify claims for you, inside Apigee Edge, with no need to call an external system.

Its the first case. So my question is it possible to call a soap service in service-callout-policy