-
-
Notifications
You must be signed in to change notification settings - Fork 52
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
Duplicate call _verify when using @scope #171
Comments
You are correct. Perhaps there is some optimization to be had here. I would welcome a PR if you would be so kind. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in decorator scope, decorated_function :
_, instance = await _do_protection(*args, **protect_kwargs) -> _check_authentication -> _verify
, and then whenuser_scopes = instance.auth.extract_scopes(request) -> extract_payload -> _verify
The text was updated successfully, but these errors were encountered: