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

Token scope and spec scope mismatch error is not clear in logs #35

Closed
stevehu opened this issue Mar 17, 2017 · 2 comments
Closed

Token scope and spec scope mismatch error is not clear in logs #35

stevehu opened this issue Mar 17, 2017 · 2 comments
Assignees
Labels
enhancement Issue: Enhancement

Comments

@stevehu
Copy link
Contributor

stevehu commented Mar 17, 2017

With service to service call, if token is not matched, the error message is not clear when service has the wrong token and what is the token scope and spec scope. Need to output service id and scopes to assist developers for debugging.

error response.

{"statusCode":403,"code":"ERR10005","message":"AUTH_TOKEN_SCOPE_MISMATCH","description":"Scopes in authorization token and spec scopes are not matched"}
@stevehu stevehu added the enhancement Issue: Enhancement label Mar 17, 2017
@stevehu stevehu self-assigned this Mar 17, 2017
@stevehu
Copy link
Contributor Author

stevehu commented Mar 17, 2017

No need to output service Id into log file as docker log drive will send container name which will be service Id with logs to ELK.

@stevehu
Copy link
Contributor Author

stevehu commented Mar 17, 2017

Close this issue in as it must be addressed in light-java-rest.

@stevehu stevehu closed this as completed Mar 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issue: Enhancement
Projects
None yet
Development

No branches or pull requests

1 participant