{"id":31107861,"url":"https://github.com/scalekit-inc/scalekit-sdk-java","last_synced_at":"2026-05-15T14:05:37.741Z","repository":{"id":248841692,"uuid":"816831293","full_name":"scalekit-inc/scalekit-sdk-java","owner":"scalekit-inc","description":"Java SDK for enterprise authentication - Spring Boot compatible SAML and OIDC integration","archived":false,"fork":false,"pushed_at":"2025-09-11T11:11:28.000Z","size":3270,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-16T09:10:42.612Z","etag":null,"topics":["authentication","client-library","enterprise-auth","java","oidc","saml","sdk","spring-boot","sso"],"latest_commit_sha":null,"homepage":"https://docs.scalekit.com/sso/quickstart?tech-stack=java","language":"Java","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/scalekit-inc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"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-06-18T13:37:13.000Z","updated_at":"2025-09-11T02:19:04.000Z","dependencies_parsed_at":"2024-07-17T12:17:58.578Z","dependency_job_id":"bb104e9c-6e9d-4318-91ab-fd7b8dc306fd","html_url":"https://github.com/scalekit-inc/scalekit-sdk-java","commit_stats":null,"previous_names":["scalekit-inc/scalekit-sdk-java"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/scalekit-inc/scalekit-sdk-java","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fscalekit-sdk-java","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fscalekit-sdk-java/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fscalekit-sdk-java/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fscalekit-sdk-java/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scalekit-inc","download_url":"https://codeload.github.com/scalekit-inc/scalekit-sdk-java/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scalekit-inc%2Fscalekit-sdk-java/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275542862,"owners_count":25483429,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-17T02:00:09.119Z","response_time":84,"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":["authentication","client-library","enterprise-auth","java","oidc","saml","sdk","spring-boot","sso"],"created_at":"2025-09-17T05:59:45.801Z","updated_at":"2026-05-15T14:05:37.734Z","avatar_url":"https://github.com/scalekit-inc.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003ca href=\"https://scalekit.com\" target=\"_blank\" rel=\"noopener noreferrer\"\u003e\n  \u003cpicture\u003e\n    \u003cimg src=\"./images/scalekit.jpg\" alt=\"Scalekit\" height=\"64\"\u003e\n  \u003c/picture\u003e\n\u003c/a\u003e\n\n\u003cp\u003e\u003cstrong\u003eOfficial Java SDK for Scalekit — the auth stack for agents.\u003c/strong\u003e\u003cbr\u003e\nAuthentication, authorization, and tool-calling for human-in-the-loop and autonomous agent flows.\u003c/p\u003e\n\n[![Maven Central](https://img.shields.io/maven-central/v/com.scalekit/scalekit-sdk-java.svg?label=Maven%20Central)](https://search.maven.org/search?q=g:%22com.scalekit%22%20AND%20a:%22scalekit-sdk-java%22)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Javadoc](https://javadoc.io/badge2/com.scalekit/scalekit-sdk-java/javadoc.svg)](https://javadoc.io/doc/com.scalekit/scalekit-sdk-java)\n\n**[📖 Documentation](https://docs.scalekit.com)** · **[🐛 Report an Issue](https://github.com/scalekit-inc/scalekit-sdk-java/issues)** · **[💬 Join our Slack](https://join.slack.com/t/scalekit-community/shared_invite/zt-3gsxwr4hc-0tvhwT2b_qgVSIZQBQCWRw)**\n\n\u003c/div\u003e\n\n---\n\nThis is the official Java SDK for [Scalekit](https://scalekit.com) — the auth stack for agents. Build secure AI products faster with authentication for humans (SSO, passwordless, full-stack auth) and agents (MCP/APIs, delegated actions), all unified on one platform.\n\n---\n\n### Agent-First Features\n\n- **Agent Identity** — Agents as first-class actors with human ownership and org context\n- **MCP-Native OAuth 2.1** — Purpose-built for Model Context Protocol with DCR/PKCE support\n- **Ephemeral Credentials** — Time-bound, task-based authorization (minutes, not days)\n- **Token Vault** — Per-user, per-tool token storage with rotation and progressive consent\n- **Human-in-the-Loop** — Step-up authentication when risk crosses thresholds\n- **Immutable Audit** — Track which user initiated, which agent acted, what resource was accessed\n\n#### Human Authentication\n\n- **Enterprise SSO** — Support for SAML and OIDC protocols\n- **SCIM Provisioning** — Automated user provisioning and deprovisioning\n- **Passwordless Authentication** — Magic links, OTP, and modern auth flows\n- **Multi-tenant Architecture** — Organization-level authentication policies\n- **Social Logins** — Support for popular social identity providers\n- **Full-Stack Auth** — Complete IdP-of-record solution for B2B SaaS\n\n---\n\n### Getting started\n\n#### Prerequisites\n\n- **Java** ≥ 8\n- [Scalekit account](https://scalekit.com) with `env_url`, `client_id`, and `client_secret`\n\n#### Installation\n\n**Gradle:**\n\n```gradle\nimplementation \"com.scalekit:scalekit-sdk-java:2.0.10\"\n```\n\n**Maven:**\n\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.scalekit\u003c/groupId\u003e\n    \u003cartifactId\u003escalekit-sdk-java\u003c/artifactId\u003e\n    \u003cversion\u003e2.0.10\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n#### Usage\n\n```java\nimport com.scalekit.ScalekitClient;\n\nScalekitClient scalekitClient = new ScalekitClient(\n    \"env_url\",\n    \"client_id\",\n    \"client_secret\"\n);\n\n// Use scalekitClient to interact with the Scalekit API\n```\n\n---\n\n### Example — SSO with Spring Boot\n\n```java\n@RestController\npublic class AuthController {\n    ScalekitClient scalekitClient = new ScalekitClient(\"env_url\", \"client_id\", \"client_secret\");\n\n    @Value(\"${auth.redirect.url}\")\n    private String redirectUrl;\n\n    @PostMapping(path = \"auth/login\")\n    public RedirectView loginHandler() {\n        AuthorizationUrlOptions options = new AuthorizationUrlOptions();\n        String url = scalekitClient.authentication()\n                .getAuthorizationUrl(redirectUrl, options)\n                .toString();\n        return new RedirectView(url);\n    }\n\n    @GetMapping(\"auth/callback\")\n    public String callbackHandler(@RequestParam String code, HttpServletResponse response) {\n        AuthenticationResponse authResponse = scalekitClient.authentication()\n                .authenticateWithCode(code, redirectUrl, new AuthenticationOptions());\n        Cookie cookie = new Cookie(\"access_token\", authResponse.getAccessToken());\n        response.addCookie(cookie);\n        return authResponse.getIdToken();\n    }\n}\n```\n\n---\n\n### Example Apps\n\n| Framework | Repository | Description |\n|-----------|------------|-------------|\n| **Spring Boot** | [scalekit-springboot-example](https://github.com/scalekit-developers/scalekit-springboot-example) | Complete Spring Boot integration |\n\n---\n\n### Helpful Links\n\n#### Quickstart Guides\n\n- [SSO Integration](https://docs.scalekit.com/sso/quickstart/) — Implement enterprise Single Sign-on\n- [Full Stack Auth](https://docs.scalekit.com/fsa/quickstart/) — Complete authentication solution\n- [Passwordless Auth](https://docs.scalekit.com/passwordless/quickstart/) — Modern authentication flows\n- [Social Logins](https://docs.scalekit.com/social-logins/quickstart/) — Popular social identity providers\n- [Machine-to-Machine](https://docs.scalekit.com/m2m/quickstart/) — API authentication\n- [Agent Auth](https://docs.scalekit.com/agent-auth/quickstart/) — Authentication for AI agents\n\n#### Documentation \u0026 Reference\n\n- [API Reference](https://docs.scalekit.com/apis) — Complete API documentation\n- [Developer Kit](https://docs.scalekit.com/dev-kit/) — Tools and utilities\n- [API Authentication Guide](https://docs.scalekit.com/guides/authenticate-scalekit-api/) — Secure API access\n\n#### Additional Resources\n\n- [Setup Guide](https://docs.scalekit.com/guides/setup-scalekit/) — Initial platform configuration\n- [Code Examples](https://docs.scalekit.com/directory/code-examples/) — Ready-to-use code snippets\n- [Admin Portal Guide](https://docs.scalekit.com/directory/guides/admin-portal/) — Administrative interface\n- [Launch Checklist](https://docs.scalekit.com/directory/guides/launch-checklist/) — Pre-production checklist\n\n---\n\n### Contributing\n\nContributions are welcome! Coming soon: contribution guidelines.\n\nFor now:\n1. Fork this repository\n2. Create a branch — `git checkout -b fix/my-improvement`\n3. Make your changes\n4. Run tests\n5. Open a Pull Request\n\n---\n\n### License\n\nThis project is licensed under the **MIT license**. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalekit-inc%2Fscalekit-sdk-java","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscalekit-inc%2Fscalekit-sdk-java","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscalekit-inc%2Fscalekit-sdk-java/lists"}