Haufe-Lexware / wicked.haufe.io

An API Management system based on Mashape Kong
http://wicked.haufe.io
Other
123 stars 37 forks source link

No authentication header passed by wicked when the scope is not present in the request. #200

Closed fromanu closed 5 years ago

fromanu commented 5 years ago

The following scenario was tested:

Result:

Expected:

DonMartin76 commented 5 years ago

This is standard behaviour of Kong - if a scope was not requested, the X-Authenticated-Scope header is not sent along with the resulting access token. Non-presence of this header means empty scope.

What would your expected behaviour be? The "assigned scope" is an assignment of "allowed scopes". Other scopes will not be granted, but it does not mean that you automatically get a grant for this scope with the access token.

DonMartin76 commented 5 years ago

Closing this - it looks as if the question was answered. If there are further things, please open a new issue.