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

Dispatch token Scope needs to be updated for the backend Service to work. #245

Closed
vihanga-liyanage opened this issue Jun 10, 2020 · 0 comments · Fixed by #246
Closed

Dispatch token Scope needs to be updated for the backend Service to work. #245

vihanga-liyanage opened this issue Jun 10, 2020 · 0 comments · Fixed by #246

Comments

@vihanga-liyanage
Copy link
Contributor

Description:
If the backend service is run with introspection enabled, the service tries to validate the token with the server when an entry is added from the dispatch app. This introspection call uses the token it's introspecting as the authorization for the call itself. For this to work, the token needs to be obtained with the scope internal_application_mgt_view. But at the moment, the pickup-dispatch application requests tokens with only the openid scope.

Affected Product Version:
IS 5.9.0 onwards.

Refer: https://stackoverflow.com/questions/62268988

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

Successfully merging a pull request may close this issue.

1 participant