{"repo":"Nerzal/gocloak","free":true,"listed":false,"github":"https://github.com/Nerzal/gocloak","clone":"git clone https://github.com/Nerzal/gocloak.git","description":"golang keycloak client","language":"Go","stars":1250,"topics":["keycloak-client","golang","go","keycloak-adapter","auth","authentication"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"gocloak Golang Keycloak API Package This client is based on: go-keycloak For Questions either raise an issue, or come to the gopher-slack into the channel #gocloak If u are using the echo framework have a look at gocloak-echo Contribution (WIP) Changelog For release notes please consult the specific releases here Usage Installation Importing Create New User Introspect Token Get Client id Client has 2 identity fields- id and clientId and both are unique in one realm. - id is generated automatically by Keycloak. - clientId is configured by users in Add client page. To get the clientId from id , use GetClients method with GetClientsParams{ClientID: &clientName} . Features GoCloakIface holds all methods a client should fulfil. Configure gocloak to skip TLS Insecure Verification developing & testing For local testing you need to start a docker container. Simply run following commands prior to starting the tests: Or you can run with docker compose using the run-tests script or Or you can run the tests on you own keycloak: All resources created as a result of unit tests will be deleted, except for the test user defined in the configuration file. To remove running docker container after completion of tests: Inspecting custom types The custom types contain many pointers, so printing them yields mostly pointer values, which aren't much help when debugging your application. For example yields a large set of pointer values For convenience, the String() interface has been added so you can","default_branch":null,"files":null,"tree":[],"storefront":"/r/Nerzal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Nerzal/gocloak/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}