From c6d414aa6fa156d993e3ca0247d491e6a6b669aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Jochum?= Date: Thu, 22 Sep 2022 03:04:04 +0200 Subject: [PATCH] No auth required on refresh --- cmd/microauth2sqld/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/microauth2sqld/main.go b/cmd/microauth2sqld/main.go index b77f4c7..326e2a9 100644 --- a/cmd/microauth2sqld/main.go +++ b/cmd/microauth2sqld/main.go @@ -268,7 +268,7 @@ func main() { ), endpointroles.NewRule( endpointroles.Endpoint(authpb.AuthService.Refresh), - endpointroles.RolesAllow(auth2.RolesUsersAndAdmin), + endpointroles.RolesAllow(auth2.RolesAllAndAnon), ), endpointroles.NewRule( endpointroles.Endpoint(authpb.AuthService.Register),