-
Notifications
You must be signed in to change notification settings - Fork 6
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
Specify scope in requires_login decorator #18
Comments
So we have a few complications:
Instead, Lastuser should provide a |
@jace can you elaborate this part a little -
|
It means they have to do the same thing as the |
Flask-Lastuser's old resource decorator is clunky and has never been used in production. The
before_request
handler, however, has recently acquired the ability to parse an access token like a session cookie and load the linked user.This mechanism should extend to
requires_login
andrequires_permission
, both of which should:scope
parameter;The text was updated successfully, but these errors were encountered: