ClientProtectedResourceMixin allows access if no allowed_scopes are set #688

Closed
opened 2022-04-19 19:28:10 +02:00 by hansegucker · 5 comments
Owner

Using client credentials as authentication method for API views, we introduced a field for OAuth2 applications that needs to be filled with the scopes these client credentials should have access to. If there are no allowed scopes, the access shouldn't be granted as nothing is allowed. With the current code base, access is also allowed if there no allowed scopes.

Using client credentials as authentication method for API views, we introduced a field for OAuth2 applications that needs to be filled with the scopes these client credentials should have access to. If there are no allowed scopes, the access shouldn't be granted as nothing is allowed. With the current code base, access is also allowed if there no allowed scopes.
Author
Owner

assigned to @hansegucker

assigned to @hansegucker
Author
Owner
created branch [`688-clientprotectedresourcemixin-allows-access-if-no-allowed_scopes-are-set`](/AlekSIS/official/AlekSIS-Core/-/compare/master...688-clientprotectedresourcemixin-allows-access-if-no-allowed_scopes-are-set) to address this issue
Author
Owner

mentioned in merge request !2656

mentioned in merge request !2656
Author
Owner

changed the description

changed the description
nik closed this issue 2022-05-04 00:53:00 +02:00
Owner

mentioned in commit 0d39d5f566

mentioned in commit 0d39d5f566e1d916e3c8dedd3f5bd62161f30bd8
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-Core#688
No description provided.