phasetwo plugin
Two Keycloak skills, split by what the work targets. `keycloak` routes realm-administration requests to the right guidance: passwordless login by magic link, email OTP, passkey-only WebAuthn, or a combined passkey-or-magic-link "0 password required" flow, corporate/enterprise SSO by email domain, social login and enterprise identity-provider federation (Entra ID, Okta, Auth0, and more), organization-membership login restriction for both local and federated logins, credential enrollment for existing users (passkey/TOTP via required actions or an emailed link), and Phase Two cluster/deployment provisioning. `securing-apps` covers the other direction — wiring Keycloak login into your own React, Angular, Vue, Next.js, mobile or backend application, validating its bearer tokens, and registering the OIDC client it needs.
How to install the phasetwo plugin
Run both commands inside Claude Code. The first adds the marketplace once; the second installs the plugin.
/plugin marketplace add p2-inc/keycloak-skills
/plugin install phasetwo@keycloak-skillsWhat's inside phasetwo
3 parts read from the plugin's own files.
Skills 2
Claude loads it when the task matches- keycloak
Use when doing Keycloak / Phase Two hosted Keycloak admin work. Passwordless login (magic link, email OTP, passkey WebAuthn, or passkey-or-magic-link "0 password required"); email OTP as a 2FA second factor; org-membership login restriction (password, federated, or magic-link); cluster/deployment provisioning; enrolling a credential (passkey/TOTP) onto users who already exist — and refusing cluster/deployment/realm DELETION. Also identity brokering: domain-routed corporate SSO; social login buttons (Google/GitHub/Microsoft); enterprise IdP federation — Entra ID, Okta, Auth0, ADFS, AWS SSO, PingOne, Salesforce and other OIDC/SAML IdPs; and IdP-initiated SSO tiles. Triggers: "2FA by email", "passkeys", "restrict login to org X", "spin up a cluster", "delete a cluster/realm", "set up my passkey", "enroll users in 2FA", "connect Okta/Entra ID", "SAML/OIDC SSO". Not WebAuthn/TOTP as a second factor, not LDAP/AD user federation, not app-side login code — that's `securing-apps`.
- securing-apps
Use when wiring Keycloak/OIDC login into your own app's source, or protecting an API with it. Browser login, logout and route protection for React, Angular, Vue, Next.js or a vanilla SPA (oidc-spa, keycloak-js, Auth.js); bearer-JWT validation in a Spring Boot, Express, FastAPI or Quarkus resource server (JWKS, issuer, audience); native login on Android, iOS or React Native (AppAuth, PKCE). Also registers or updates the app's OIDC client — redirect URIs, web origins, public vs confidential. Triggers: "add login to my React/Angular/Vue/Next.js app", "secure/protect my API", "validate a JWT", "invalid redirect_uri", "401 from my API", "CORS on the token call". **OIDC/OAuth2 only, not SAML.** Not realm, flow or IdP admin, not passwordless/SSO setup — that is the `keycloak` skill.
MCP servers 1
Starts with the plugin- keycloakhttp
https://mcp.phasetwo.io/mcp
Using phasetwo in Claude Code
Skills need no command. Claude reads them when your request matches what they describe.
Update, turn off or remove
- Update the plugin (shell)
- claude plugin update phasetwo@keycloak-skills
- Refresh the marketplace
- /plugin marketplace update keycloak-skills
- Turn it off for now
- /plugin disable phasetwo@keycloak-skills
- Remove it
- /plugin uninstall phasetwo@keycloak-skills
Skills in phasetwo
- keycloakp2-inc/keycloak-skills
Use when doing Keycloak / Phase Two hosted Keycloak admin work. Passwordless login (magic link, email OTP, passkey WebAuthn, or passkey-or-magic-link "0 password required"); email OTP as a 2FA second factor; org-membership login restriction (password, federated, or magic-link); cluster/deployment provisioning; enrolling a credential (passkey/TOTP) onto users who already exist — and refusing cluster/deployment/realm DELETION. Also identity brokering: domain-routed corporate SSO; social login buttons (Google/GitHub/Microsoft); enterprise IdP federation — Entra ID, Okta, Auth0, ADFS, AWS SSO, PingOne, Salesforce and other OIDC/SAML IdPs; and IdP-initiated SSO tiles. Triggers: "2FA by email", "passkeys", "restrict login to org X", "spin up a cluster", "delete a cluster/realm", "set up my passkey", "enroll users in 2FA", "connect Okta/Entra ID", "SAML/OIDC SSO". Not WebAuthn/TOTP as a second factor, not LDAP/AD user federation, not app-side login code — that's `securing-apps`.
68 files5stars - securing-appsp2-inc/keycloak-skills
Use when wiring Keycloak/OIDC login into your own app's source, or protecting an API with it. Browser login, logout and route protection for React, Angular, Vue, Next.js or a vanilla SPA (oidc-spa, keycloak-js, Auth.js); bearer-JWT validation in a Spring Boot, Express, FastAPI or Quarkus resource server (JWKS, issuer, audience); native login on Android, iOS or React Native (AppAuth, PKCE). Also registers or updates the app's OIDC client — redirect URIs, web origins, public vs confidential. Triggers: "add login to my React/Angular/Vue/Next.js app", "secure/protect my API", "validate a JWT", "invalid redirect_uri", "401 from my API", "CORS on the token call". **OIDC/OAuth2 only, not SAML.** Not realm, flow or IdP admin, not passwordless/SSO setup — that is the `keycloak` skill.
19 files5stars
phasetwo plugin questions
How do I install the phasetwo plugin?
In Claude Code run /plugin marketplace add p2-inc/keycloak-skills, then /plugin install phasetwo@keycloak-skills.
What does the phasetwo plugin include?
phasetwo bundles 2 skills, MCP servers.
How do I update or remove the phasetwo plugin?
Update it with claude plugin update phasetwo@keycloak-skills in your shell, or from the Installed tab of /plugin. Remove it with /plugin uninstall phasetwo@keycloak-skills.
What license is the phasetwo plugin under?
CC-BY-SA-4.0 AND Apache-2.0, as stated in the plugin's manifest.