Skip to content

Commit d186f63

Browse files
committed
audience string for jwt
1 parent 8585d6a commit d186f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

restapi/user_login.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ func login(credentials MCSCredentials) (*string, error) {
5555
return nil, ErrInvalidCredentials
5656
}
5757
// if we made it here, the minioCredentials work, generate a jwt with claims
58-
jwt, err := auth.NewJWTWithClaimsForClient(&tokens, "")
58+
jwt, err := auth.NewJWTWithClaimsForClient(&tokens, getMinIOServer())
5959
if err != nil {
6060
log.Println(err)
6161
return nil, ErrInvalidCredentials

0 commit comments

Comments
 (0)