Skip to content
This repository was archived by the owner on Jun 4, 2019. It is now read-only.

Provide a function that lists supported providers #14

@x1ddos

Description

@x1ddos

Here's how it currently works:

# Map URLs to handlers
Route('/auth/<provider>',
         handler='handlers.AuthHandler:_simple_auth',
         name='auth_login'),
Route('/auth/<provider>/callback', 
         handler='handlers.AuthHandler:_auth_callback',
         name='auth_callback'),

Nice tip from @erichiggins:

Perhaps a convenience function could be written that simply supplies a list of
supported providers from the app's config file/dict. Then folks could make the above
route expression(s) programmatically.


Moved here from https://code.google.com/p/gae-simpleauth/issues/detail?id=5

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions