Disable global authorization and permission for one route


#1

Is there a way to disable to global authentication for one route? I have a login page that accepts a form with user id and password. This is used to generate a token. When I add authentication and permission to the global config, the login page now needs the token that it generates.


#2

@annotate(authentication=[], permissions=[])
Def login():
Return token


#3

Thanks! That worked.