{"id":26252718,"url":"https://github.com/kinde-oss/kinde-go","last_synced_at":"2026-05-28T06:02:12.569Z","repository":{"id":261541017,"uuid":"789406097","full_name":"kinde-oss/kinde-go","owner":"kinde-oss","description":"Kinde go SDK, Kinde is Auth0 alternative plus billing \u0026 feature flagging","archived":false,"fork":false,"pushed_at":"2026-02-16T02:52:19.000Z","size":900,"stargazers_count":7,"open_issues_count":9,"forks_count":4,"subscribers_count":5,"default_branch":"main","last_synced_at":"2026-02-16T09:48:01.891Z","etag":null,"topics":["auth0","dx-sdk","go","kinde","kinde-auth","oauth2","oauth2-client","sdk"],"latest_commit_sha":null,"homepage":"https://kinde.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kinde-oss.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-04-20T13:07:23.000Z","updated_at":"2026-02-16T02:52:19.000Z","dependencies_parsed_at":"2025-07-27T14:32:49.799Z","dependency_job_id":"cd7ad346-ba17-4969-bda1-667d7cb90eef","html_url":"https://github.com/kinde-oss/kinde-go","commit_stats":null,"previous_names":["kinde-oss/kinde-go"],"tags_count":20,"template":false,"template_full_name":"kinde-oss/kinde-oss-repo-template","purl":"pkg:github/kinde-oss/kinde-go","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinde-oss%2Fkinde-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinde-oss%2Fkinde-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinde-oss%2Fkinde-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinde-oss%2Fkinde-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kinde-oss","download_url":"https://codeload.github.com/kinde-oss/kinde-go/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kinde-oss%2Fkinde-go/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33596317,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-28T02:00:06.440Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth0","dx-sdk","go","kinde","kinde-auth","oauth2","oauth2-client","sdk"],"created_at":"2025-03-13T17:28:02.739Z","updated_at":"2026-05-28T06:02:12.562Z","avatar_url":"https://github.com/kinde-oss.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kinde Go SDK\n\nThe Kinde SDK for Go.\n\n\u003e **📚 Management API**: For comprehensive information about using the Kinde Management API, see [README_MANAGEMENT_API.md](README_MANAGEMENT_API.md).\n\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](https://makeapullrequest.com) [![Kinde Docs](https://img.shields.io/badge/Kinde-Docs-eee?style=flat-square)](https://kinde.com/docs/developer-tools) [![Kinde Community](https://img.shields.io/badge/Kinde-Community-eee?style=flat-square)](https://thekindecommunity.slack.com)\n\n## Development\n\nRequires Go 1.24+\n\n## OAuth 2.0 Flows\n\nFor comprehensive information about OAuth 2.0 flows and how to choose the right flow for your application, see [OAuth 2.0 flows explained](https://kinde.com/learn/authentication/protocols/oauth-flows-explained/).\n\n## Authorization Code Flow\n\nFor comprehensive information about the authorization code flow and device authorization flow, see [oauth2/authorization_code/README.md](oauth2/authorization_code/README.md).\n\nThe `authorization_code` package provides OAuth2 authorization code flow implementations for Go applications:\n\n| Flow Type | Description | Use Case | Documentation Link |\n| --- | --- | --- | --- |\n| **Browser-based** | Standard authorization code flow for web applications | Web apps with user interaction | [Standard Authorization Code Flow](oauth2/authorization_code/README.md#standard-authorization-code-flow) |\n| **Device Flow** | Device authorization flow for limited input devices | CLIs, TVs, IoT devices | [Device Authorization Flow](oauth2/authorization_code/README.md#device-authorization-flow) |\n\n### Key Features\n\n- Session management and token validation\n- Offline support with refresh token management\n- Middleware integration for popular Go frameworks\n- Comprehensive token validation options\n\n## Client Credentials Flow\n\nFor comprehensive information about the client credentials flow, see [oauth2/client_credentials/README.md](oauth2/client_credentials/README.md).\n\nThe `client_credentials` package provides OAuth2 client credentials flow implementation for machine-to-machine communication. This flow is designed for server-to-server authentication and doesn't involve human input. It requires a Kinde M2M application and proper session hooks implementation for secure token storage.\n\n### Management API\n\nFor comprehensive information about using the Kinde Management API, including authentication, setup, and usage examples, see [README_MANAGEMENT_API.md](README_MANAGEMENT_API.md).\n\nThe Management API allows you to programmatically manage your Kinde tenant, including creating applications, managing users, configuring settings, and more. It requires M2M applications with Management API enabled and appropriate scopes configured.\n\n### JWT Package\n\nThe `jwt` package provides comprehensive JWT parsing, validation, and management capabilities. For detailed documentation, examples, and use cases, see the [JWT Package README](jwt/README.md).\n\n**Quick Overview:**\n\n- Parse JWT tokens from HTTP headers, strings, session storage, or OAuth2 tokens\n- Flexible validation options (algorithm, audience, issuer, claims, etc.)\n- JWKS support for token signature validation\n- Comprehensive token information access\n- Seamless integration with OAuth2 flows\n\n## Examples\n\nThis repository includes several examples demonstrating different authentication flows:\n\n- **CLI Example** (`examples/cli`): Demonstrates device authorization flow and secure token storage\n- **Gin Chat Example** (`examples/gin-chat`): Shows how to integrate Kinde authentication with a Gin web application\n\nFor detailed documentation on each flow:\n\n- **Authorization Code Flow**: [oauth2/authorization_code/README.md](oauth2/authorization_code/README.md)\n- **Client Credentials Flow**: [oauth2/client_credentials/README.md](oauth2/client_credentials/README.md)\n- **Management API**: [README_MANAGEMENT_API.md](README_MANAGEMENT_API.md)\n\nFor Management API examples and detailed usage, see [README_MANAGEMENT_API.md](README_MANAGEMENT_API.md).\n\n### SDK Development\n\n1. Clone the repository to your machine:\n\n   ```bash\n   git clone https://github.com/kinde-oss/kinde-go.git\n   ```\n\n2. Go into the project:\n\n   ```bash\n   cd kinde-go\n   ```\n\n3. Install the dependencies:\n\n   ```bash\n   go mod download\n   ```\n\n## Documentation\n\nFor details on integrating this SDK into your project, head over to the [Kinde docs](https://kinde.com/docs/) and see the [Go SDK](\u003c[link-to-kinde-doc](https://kinde.com/docs/developer-tools/)\u003e) doc 👍🏼.\n\n## Publishing\n\nThe core team handles publishing.\n\n## Contributing\n\nPlease refer to Kinde’s [contributing guidelines](https://github.com/kinde-oss/.github/blob/489e2ca9c3307c2b2e098a885e22f2239116394a/CONTRIBUTING.md).\n\n## License\n\nBy contributing to Kinde, you agree that your contributions will be licensed under its MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinde-oss%2Fkinde-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkinde-oss%2Fkinde-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkinde-oss%2Fkinde-go/lists"}