Min RK
ea91bed620
require next_url to be an absolute path
...
- disallow relative path
- disallow full URL (cross-site)
2015-07-07 11:28:44 -05:00
Min RK
dbc410d6a1
log login / logout at info-level
2015-04-08 10:49:13 -07:00
Min RK
24fd843c3c
render login form at root
...
- redirect to server, if running (hub home, otherwise)
2015-03-31 13:56:49 -07:00
Min RK
cffdf89327
remove logout page
...
redirect to landing page, instead
2015-03-31 13:56:49 -07:00
Scott Sanderson
4c5de826c4
DEV: Make login a base-class default on Authenticator.get_handlers.
...
Rather than a module-level default. Makes it easier for custom
Authenticators to unmount /login.
2015-01-14 17:40:57 -05:00
MinRK
0577e10276
more hooks for authenticators
...
Allow authenticators to:
- register custom handlers
- change login and logout URLs
- replace the entire login form
This appears to be enough to get oauth working.
2014-09-22 22:17:00 -07:00
MinRK
485ddd039c
check if spawners are running before starting new ones
2014-09-21 22:44:51 -07:00
MinRK
deae294858
use 302 redirects
2014-09-21 13:45:51 -07:00
Matthias Bussonnier
d56e8b9186
fix some redirect.
...
login redict to home if already loged in
/hub redirect to /hub/
2014-09-21 19:56:54 +02:00
MinRK
b24e47d94a
some updates to login redirects
...
/anything served by Hub redirects to /hub/anything
/hub/user/[user] spawns single-user server and redirects to it
2014-09-14 16:47:09 -07:00
MinRK
a245641886
simplify handler setup with default_handlers in modules
...
like IPython's, but a bit simpler since we don't have
so many services to deal with.
2014-09-14 11:54:37 -07:00
MinRK
42f040c6a1
return orm.User from get_current_user
...
rather than name.
removes need for `get_user` wrapper
2014-09-13 17:19:34 -07:00
MinRK
714770d499
reorg handlers a bit
...
make room for API handlers
2014-09-12 12:09:26 -07:00