Skip to content
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

[Documentation] Missing override_scope_validator in Scopes section #172

Open
snguyenthanh opened this issue Aug 17, 2019 · 3 comments
Open

Comments

@snguyenthanh
Copy link

Reading the Sanic JWT docs, although override_scope_validator is mentioned in Initialization and it mentions See Scopes for more information., override_scope_validator seems to be missing in Scopes.

@ahopkins
Copy link
Owner

Thanks for pointing this out.

@snguyenthanh
Copy link
Author

No problems. Glad I could help.

@ahopkins
Copy link
Owner

A while ago, I broke the scoping module out into its own package with a more generic definition. In one of the next releases I do for sanic-jwt I will probably incorporate this other package as it provides the same basic functionality, but also some additional controls. But, at the end of the day, override_scope_validator is meant to do just that and allow the dev to do whatever they want with the scopes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants