fixed urls for auths

This commit is contained in:
Adolfo Gómez García 2020-03-30 18:16:45 +02:00
parent 5e971db73f
commit 173caa250e

View File

@ -75,10 +75,10 @@ urlpatterns = [
# Federated authentication
re_path(r'^uds/page/auth/(?P<authName>[^/]+)$', uds.web.views.authCallback, name='page.auth.callback'),
re_path(r'^uds/page/auth/info/(?P<authName>[a-zA-Z0-9-]+)$', uds.web.views.authInfo, name='page.auth.info'),
re_path(r'^uds/page/auth/info/(?P<authName>[a-zA-Z0-9.-]+)$', uds.web.views.authInfo, name='page.auth.info'),
# Ticket authentication related
re_path(r'^uds/page/ticket/auth/(?P<ticketId>[a-zA-Z0-9-])$', uds.web.views.ticketAuth, name='page.ticket.auth'),
re_path(r'^uds/page/ticket/auth/(?P<ticketId>[a-zA-Z0-9.-])$', uds.web.views.ticketAuth, name='page.ticket.auth'),
path(r'uds/page/ticket/launcher', uds.web.views.modern.index, name='page.ticket.launcher'),
# This must be the last, so any patition will be managed by client in fact