{"id":75132,"library":"nerzal-gocloak-v7","title":"GoCloak","description":"A Go client library for interacting with Keycloak's admin and authentication APIs.","status":"active","version":"7.11.0","language":"go","source_language":null,"source_url":"https://github.com/Nerzal/gocloak","tags":["keycloak","oauth","authentication","identity","admin"],"install":[{"cmd":"go get github.com/Nerzal/gocloak/v7","lang":"bash","label":"Install github.com/Nerzal/gocloak/v7"}],"dependencies":[],"imports":[{"symbol":"gocloak","correct":"github.com/Nerzal/gocloak/v7"}],"quickstart":{"code":"package main\n\nimport (\n\t\"context\"\n\t\"fmt\"\n\t\"github.com/Nerzal/gocloak/v7\"\n)\n\nfunc main() {\n\tclient := gocloak.NewClient(\"http://keycloak.example.com\")\n\ttoken, _ := client.LoginAdmin(context.Background(), \"admin\", \"admin\", \"master\")\n\tfmt.Println(token.AccessToken)\n}","lang":"go","description":"Logs in to Keycloak as admin"},"warnings":[{"fix":"Use the correct import path with /v7 suffix and refer to v7 documentation.","message":"Version 7 uses a different API than v6; ensure compatibility.","severity":"breaking","affected_versions":">=7.0.0"}],"env_vars":null,"search_vec":"'admin':11,19 'api':14 'authent':13,17 'client':4 'go':3 'gocloak':1 'ident':18 'interact':7 'keycloak':9,15 'librari':5 'oauth':16","created_at":"2026-06-17T19:12:51.500393+00:00","updated_at":"2026-06-17T19:12:51.500393+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/v7#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}}