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"