Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exact error message is not displayed for invalid JWT token #8

Closed
ykalidin opened this issue Nov 14, 2018 · 1 comment
Closed

Exact error message is not displayed for invalid JWT token #8

ykalidin opened this issue Nov 14, 2018 · 1 comment

Comments

@ykalidin
Copy link
Contributor

JWT example-Json Model:
1)Run the microgateway
2)When an invalid access token is passed in the below curl request the exact error message is not being displayed.
curl --request GET http://localhost:9096/pets -H "Authorization: Bearer <Access_Token>"
The below error is seen for all invalid JWT Access Tokens.
{"error":{"data":null,"status":405}}

@ykalidin ykalidin changed the title Exact error message is not displayed in JWT Json model example when invalid token is passed Exact error message is not displayed for invalid JWT token Nov 14, 2018
@pointlander
Copy link
Contributor

flogo.json was updated to use jwt output for error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants