Dario Pellegrini
10/07/2019, 12:42 PMLuke Rohde
10/07/2019, 2:16 PMauthenticate("jwt", optional = true) {
...
}
Per docs,
* optional=true:
* - No credentials: route handler will be executed with a null [Principal]
* - Bad credentials: Unauthorized
* - Good credentials: route handler will be execute
Dario Pellegrini
10/08/2019, 8:24 AM