Learn more about these different git repos.
Other Git URLs
There's functions on freshmaker/auth.py:143/152 (require_oidc_scope/require_scopes) to require and validate a set of OIDC scopes, but I cannot find any place where that's used. The only place I can see scopes being used are in auth.py:115, which uses validate_scopes, and is generic for every request. Is the idea to require the same set of scopes for all requests?
We actually require auth (and therefore scope) for single POST request, but we might have multiple in the future, so I've added checking for scope in:
https://pagure.io/freshmaker/pull-request/176
That should fix this issue.
Metadata Update from @jkaluza: - Issue assigned to jkaluza
Metadata Update from @jkaluza: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Login to comment on this ticket.