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

Flask: provide callback list and match endpoint #3

Closed
fluffy-critter opened this issue Jul 6, 2019 · 0 comments · Fixed by #15
Closed

Flask: provide callback list and match endpoint #3

fluffy-critter opened this issue Jul 6, 2019 · 0 comments · Fixed by #15
Labels
enhancement New feature or request flask Functionality relating to the built-in Flask wrapper

Comments

@fluffy-critter
Copy link
Contributor

fluffy-critter commented Jul 6, 2019

Add a callback-related endpoint _cb/check/<url>, which checks the URL and returns the pertinent info from Authl.get_handler_for_url(url), providing the name and URL schema in a JSON blob like:

{
    'name': 'Email',
    'schema': '%',
    'placeholder': 'user@example.com'
}

or the like.

If no matching endpoint exists, it should return null or undefined or false or something.

@fluffy-critter fluffy-critter added enhancement New feature or request flask Functionality relating to the built-in Flask wrapper labels Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flask Functionality relating to the built-in Flask wrapper
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant