{"id":73057,"library":"nerzal-gocloak-v8","title":"GoCloak v8","description":"GoCloak is a Go client library for interacting with Keycloak, providing authentication and authorization management.","status":"active","version":"8.6.0","language":"go","source_language":null,"source_url":"https://github.com/Nerzal/gocloak","tags":["keycloak","authentication","authorization","oidc"],"install":[{"cmd":"go get github.com/Nerzal/gocloak/v8","lang":"bash","label":"Install github.com/Nerzal/gocloak/v8"}],"dependencies":[],"imports":[{"symbol":"gocloak","correct":"github.com/Nerzal/gocloak/v8"}],"quickstart":{"code":"package main\n\nimport (\n    \"context\"\n    \"fmt\"\n    \"github.com/Nerzal/gocloak/v8\"\n)\n\nfunc main() {\n    client := gocloak.NewClient(\"https://keycloak.example.com\")\n    token, err := client.LoginAdmin(context.Background(), \"admin\", \"password\", \"master\")\n    if err != nil {\n        fmt.Println(err)\n        return\n    }\n    fmt.Println(token.AccessToken)\n}","lang":"go","description":"Login to Keycloak as admin and retrieve access token"},"warnings":[{"fix":"Refer to migration guide when upgrading from v7.","message":"Version 8 introduced breaking changes from v7, including API method signatures.","severity":"breaking","affected_versions":">=8.0.0"}],"env_vars":null,"search_vec":"'authent':14,19 'author':16,20 'client':7 'go':6 'gocloak':1,3 'interact':10 'keycloak':12,18 'librari':8 'manag':17 'oidc':21 'provid':13 'v8':2","created_at":"2026-06-17T18:47:11.195680+00:00","updated_at":"2026-06-17T18:47:11.195680+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/Nerzal/gocloak","github":"https://github.com/Nerzal/gocloak","docs":"https://pkg.go.dev/github.com/Nerzal/gocloak/v8#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}