Token validation failing in PCF but validating in local

165 Views Asked by At

I have secured an API using okta. In order to call the API one need to generated the Bearer token and call the API. These all things are fine in my local..

But when I deployed this secured API service PCF , and calling this secured Api from local (passing bearer token in header) its resulting in an error.

Bearer error="invalid_token", error_description="An error occurred while attempting to decode the Jwt: Invalid token"

1

There are 1 best solutions below

0
abhishek rathur On

Need to setup Proxy. After setting up proxy its working fine