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

Provide a function that lists supported providers #14

Open
x1ddos opened this issue May 18, 2013 · 0 comments
Open

Provide a function that lists supported providers #14

x1ddos opened this issue May 18, 2013 · 0 comments

Comments

@x1ddos
Copy link
Owner

x1ddos commented May 18, 2013

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

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

No branches or pull requests

1 participant