forked from bbangert/velruse
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TODO
51 lines (34 loc) · 1.68 KB
/
TODO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Velruse TODO
============
Next Release
------------
- Fix the Flask example to work with a Velruse standalone app.
- Document the standalone app.
Nice-to-Have
------------
- Create a Velruse WSGI middleware component. This would contain most of the
current internals of the standalone app, but allow the credentials to be
passed directly into an application (via the environ) without any
sub-requests.
- OpenID doesn't seem to work with Google Hosted Apps. This looked like a bug
within the python-openid package though.
- Improved testing.
+ Support request/response fixtures for each endpoint that can be
run through to validate behavior.
+ Make selenium tests optional, and preferably have the server run
in a thread within the test setup to avoid having to spin up a separate
shell to run the server.
+ Create unit tests for the portable contacts conversion functions
such as ``velruse.providers.facebook.extract_fb_data()``.
+ Automate testing, possibly via Travis-CI or Jenkins.
- Support storing some state via the login URL.
+ POST /login/facebook with state=foo, we would expect that state=foo
is then available somehow in the AuthenticationComplete context.
- Add CSRF checking to more providers.
- Add introspection via Pyramid's introspection API ('velruse providers'
category).
- Add support for /auth endpoints as well as /login endpoints. Some providers
like Twitter and Last.fm have different workflows for simply logging in
versus granting access to the user's data on a provider's system.
- Possibly factor out a Provider base class that can handle a lot of common
operations between providers (sub-requests, state tracking, introspection).