Disable global authorization and permission for one route


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.


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


Thanks! That worked.