unmarshal token to filter spaces for current user (#6596)
* unmarshal token to filter spaces for current user Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> * Fix tests --------- Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de> Co-authored-by: André Duffeck <andre.duffeck@firondu.de>
This commit is contained in:
co-authored by
André Duffeck
parent
abf94f1ccb
commit
2ea3b8c400
@@ -33,6 +33,7 @@ func Server(opts ...Option) (grpc.Service, func(), error) {
|
||||
handle, teardown, err := svc.NewHandler(
|
||||
svc.Config(options.Config),
|
||||
svc.Logger(options.Logger),
|
||||
svc.JWTSecret(options.JWTSecret),
|
||||
)
|
||||
if err != nil {
|
||||
options.Logger.Error().
|
||||
|
||||
Reference in New Issue
Block a user