Skip to content

Commit ce6b828

Browse files
authored
fix: added login method
1 parent 474b4e5 commit ce6b828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keycloak/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
/*
99
*/
1010
func (g *gkeycloak) Login(username string, password string) (*gocloak.JWT, error) {
11-
token, err := g.client.Login(g.ctx, g.clientId, g.clientSecret, username, password )
11+
token, err := g.client.Login(g.ctx, g.clientId, g.clientSecret, g.realm, username, password )
1212
if err != nil {
1313
return nil, err
1414
}

0 commit comments

Comments
 (0)