Commit 56fd14bb authored by delanoe's avatar delanoe

[URL] jwt grammar for url 3 main actions to implement.

parent bc7690e0
......@@ -35,9 +35,12 @@ urlpatterns = [ url(r'^admin/' , admin.site.urls
, url(r'^' , include( gargantext.views.pages.urls ) )
, url(r'^favicon.ico$' , Redirect.as_view( url=static.url('favicon.ico')
, permanent=False), name="favicon" )
, url(r'^api-token-auth/', obtain_jwt_token )
# JWT Authorizations
, url(r'^jwt-auth/' , obtain_jwt_token )
, url(r'^jwt-renew/' , obtain_jwt_token )
# change function: check if id = role_+id then return jwt_token
, url(r'^api-token-verify/', verify_jwt_token )
, url(r'^jwt-verify/' , verify_jwt_token )
# Module Graph
, url(r'^' , include( graph.urls ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment