keycloak-admin-go

module
v0.0.0-...-677a216 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2022 License: MIT

README

keycloak-admin-go

pipeline status coverage report Go Report Card CircleCI

Keycloak admin client in go.

This is still highly unstable as more of the admin api endpoints and parameters are added.

Usage

go get -u github.com/Azuka/keycloak-admin-go/...

Local Development

make init
make test
make integration
#optionally
make integration-clean
Local CI

Wish List

  • Add authentication integration tests
  • Attack Detection
  • Authentication Management
  • Client Attribute Certificate
  • Client Initial Access
  • Client Registration Policy
  • Client Role Mappings
  • Client Scopes
  • Clients
  • Component
  • Groups
  • Identity Providers
  • Key
  • Protocol Mappers
  • Realms Admin
    • Get realm
    • Import realm
    • Update realm
    • Delete realm
    • Get admin events
    • Delete admin events
  • Role Mapper
  • Roles
  • Roles (by ID)
  • Scope Mappings
  • User Storage Provider
  • Users
    • Get user
    • Search users
    • Create user
    • Update user
      • Profile information
      • Groups
      • Sessions, Consents
  • Root

Thanks to

Directories

Path Synopsis
Package keycloak contains a client and relevant data structs for interacting with the Keycloak Admin REST API For mapping, see https://www.keycloak.org/docs-api/4.0/rest-api/index.html
Package keycloak contains a client and relevant data structs for interacting with the Keycloak Admin REST API For mapping, see https://www.keycloak.org/docs-api/4.0/rest-api/index.html
auth
Package auth is copied almost verbatim from golang.org/x/oauth2/clientcredentials This is because the package above doesn't allow overwriting the grant_type key TODO: Clean up and implement/reuse a true keycloak auth
Package auth is copied almost verbatim from golang.org/x/oauth2/clientcredentials This is because the package above doesn't allow overwriting the grant_type key TODO: Clean up and implement/reuse a true keycloak auth

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL