Self-host Casdoor
v4.26.0AI-agent-ready IAM & SSO server for OAuth, SAML, LDAP, MCP
$ docker run -p 8000:8000 casbin/casdoor-all-in-one- Stars
- 14 782
- Ports
- 8000 (Web UI, sign-in pages and REST API (backend application port)), 389 (Built-in LDAP server), 636 (Built-in LDAPS (LDAP over SSL) server), 1812 (Built-in RADIUS server)
casbin/casdoorWhat is Casdoor?
Casdoor is an open-source identity and access management platform: it runs the single sign-on service, keeps the user directory and issues the tokens itself, so connected applications never handle a password. Accounts stay reachable through many identity standards at once, covering the major authorization, federation, directory and provisioning protocols, plus passkeys, TOTP or emailed codes for MFA, biometric sign-in, and more than 100 social and enterprise identity providers out of the box. Organizations are isolated tenants with their own branding, and access rules are written as Casbin models supporting ACL, RBAC and ABAC. Casdoor leans toward the agent era: it embeds an MCP server so AI agents can manage users, applications and permissions in natural language under scope-based permissions, and it can expose Model Context Protocol servers through a gateway. Day-to-day changes (users, applications, providers, mail and SMS templates, login themes) happen in the admin console instead of files that need a redeploy; there is also a complete REST API with Swagger, webhooks and audit records, and configuration can live in Git through a startup init-data file or the official Terraform provider. To run it yourself, deploy a single Go binary against your own database (MySQL, PostgreSQL or SQLite are all supported) and reach it on port 8000, or use the published Docker images, the repository's Compose file, or the Helm chart; the all-in-one image bundles demo data and is meant for evaluation, not production. It is Apache-2.0 licensed; funding comes from donations and the managed Casdoor Cloud hosting, and a writable public demo is available.
Casdoor alternatives
hankoOpen-source self-hosted authentication and user management platform with passkeys, MFA, OAuth SSO and SAML, an API-first alternative to Auth0 or Clerk.Comparehanko with Casdoor
CortenDeskSelf-hosted RustDesk console bundling ID server, relay, and browser client in one Docker image. Fixes signed-in client issues, adds fleet management, access control.CompareCortenDesk with Casdoor
FirezoneZero-trust remote access built on WireGuard for teams: gateways run in your network, while policies, device trust and audit logs are managed from a hosted portal.CompareFirezone with Casdoor
TeampassSelf-hosted, open-source team password vault on PHP/MySQL: folder and role access control, AES-256-GCM encryption, LDAP/OAuth2 SSO, TOTP and compliance reports.CompareTeampass with Casdoor
TeleportSelf-hosted open-source platform replacing VPNs with short-lived certificates, SSO, MFA, RBAC, and session audit across SSH, Kubernetes, databases, and web apps.CompareTeleport with Casdoor
KanidmSelf-hosted, open-source identity management server in Rust: passkey/WebAuthn login, OAuth2/OIDC SSO, an app portal, read-only LDAPS, RADIUS, SSH keys and Unix auth.CompareKanidm with Casdoor
voidauthOpen-source SSO for homelabs: an OIDC provider, reverse-proxy forward-auth, optional read-only LDAP, and user management with invitations, passkeys and MFA.Comparevoidauth with Casdoor
supertokensSelf-hosted, open-source authentication service replacing Auth0, Firebase Auth or AWS Cognito, with passwordless, social, email-password login and session management.Comparesupertokens with Casdoor
All self-hosted alternatives to Auth0 → All self-hosted alternatives to Okta → All self-hosted alternatives to Authentik →
Should you self-host Casdoor?
Casdoor scores 78/100 on selfhost.directory (how scoring works) and ranks #3 of 40 in Authentication. It has 14 782 GitHub stars, +272 in the last 30 days.
It shipped 125 stable releases in the past year. The latest, v4.26.0, came out on 5 November 2026. New versions land roughly every 1 days.
Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is Apache-2.0-licensed and written mostly in Go.
Its closest alternative on selfhost.directory is authentik (80/100, 26 267 stars). It scores higher overall, so compare the two before you pick. See Casdoor vs authentik side by side.
Features
- Audit Logs
- Built-in MCP server for AI agents
- CAS protocol
- LDAP Support
- Multi-Factor Authentication
- Multi-tenancy
- OAuth 2.0 / OpenID Connect
- Policy-based authorization (RBAC/ABAC)
- REST API
- SAML 2.0
- SCIM 2.0 provisioning
- Single Sign-On (SSO)
- Social Login
- WebAuthn / Passkeys
- Webhooks
Casdoor README
Casdoor is a single sign-on (SSO) and authentication server with a web console.
It speaks OAuth 2.0, OIDC, SAML 2.0, CAS, LDAP, SCIM 2.0, WebAuthn, TOTP/MFA and MCP,
and connects to Google Workspace, Microsoft Entra ID (Azure AD), GitHub and many other identity providers.
Website · Documentation · Live demo · Casdoor Cloud · Discord
The sign-in page your users see: password, email/SMS code, WebAuthn and Face ID, plus every social provider you enable.
How to install Casdoor
Install Casdoor with Docker
docker run -p 8000:8000 casbin/casdoor-all-in-one
The all-in-one image bundles SQLite and demo data for evaluation only; the standard image casbin/casdoor runs against your own database, e.g. docker run -e driverName=mysql -e dataSourceName=... -p 8000:8000 casbin/casdoor:latest.
Install Casdoor with Docker Compose
RUNNING_IN_DOCKERdocker compose up
The repo's docker-compose.yml starts Casdoor next to a MySQL 8 container and builds the image from source; set driverName, dataSourceName and dbName in conf/app.conf to match the db service.
Install Casdoor with Linux
# Linux and macOS
tar -xzf casdoor_Linux_x86_64.tar.gz
cd casdoor_Linux_x86_64
./casdoor
Download the archive for your platform from GitHub Releases; binaries are available for Linux, macOS and Windows (x86_64 and arm64). The archive contains the casdoor binary, the built frontend and a sample conf/app.conf; the admin console is then at http://localhost:8000.
Install Casdoor with Helm
helm install casdoor oci://ghcr.io/casdoor/helm-charts/casdoor
Requires Helm v3 and a running cluster. The chart does not expose Casdoor outside the cluster by default; configure an Ingress and an external database through values. k8s.yaml in the repo is a minimal plain-manifest example.
How to configure Casdoor
appname=casdoorApplication name. Not used at the momenthttpport=8000Port that the backend application listens onrunmode=devRunning mode: dev or prodvalues: dev, prod
copyrequestbody=trueWhether to copy request body for later usedriverName=mysqlDatabase driver (e.g., mysql, postgres, sqlite)
Casdoor releases & version history
AI summary Added Casdoor Cloud links and admin password initialization
Changelog
Features
- d61ee82 feat: add Casdoor Cloud links to the console and a global setting to hide them
- 04a36b7 feat: add initAdminPassword to Helm and docker-compose
- f3f9048 feat: ask again on the prompt page when the display name is not a real name
- f49962c feat: end only the signed-out session at OIDC apps and add sid to ID tokens
- 69d84f3 feat: let admins mark a user's email as verified on the user edit page
- ee56efb feat: let an organization be its own OIDC issuer with path-based discovery
- 4284a27 feat: let the Polar payment provider use a custom host such as the sandbox
- 2cfb4b4 feat: let the global admin enable scripts in an application's custom HTML (#6007)
- 7af559b feat: merge accounts that have a balance and list the merged accounts in mergedUsers
- a9672ae feat: offer to merge the account that already owns a verified phone, email or third-party account
- bc0f8cf feat: redeem ID-JAGs of trusted enterprise IdPs with the JWT bearer grant
- 1658baf feat: run payment providers from Marketplace actions in a WebAssembly sandbox
- b4c0a16 feat: send forbid-user and unforbid-user webhook events
- adea85d feat: share CIMD clients across organizations and give each MCP gateway server its own resource metadata
- 383e02e feat: support CA and client certificates for PostgreSQL database syncers
- 74dcd63 feat: support a custom body template for the custom HTTP SMS provider
- dff375e feat: support per-client shared secrets for the RADIUS server
- 81a1226 feat: upgrade golang.org/x/net to v0.62.0 (#6005)
Bug fixes
- af79efb fix: accept CAS format values case-insensitively
- 0a4cf19 fix: add exp to the back-channel logout token
- b0d55a7 fix: bind device authorization to resource indicators and make device codes single-use
- 5b3bc2b fix: compare the Telegram login hash in constant time
- 7c66c9c fix: do not force English on the signup page when the organization lists no languages
- a55012d fix: encode the search value in list requests (#6017)
- 3dd2bc8 fix: go back a page after bulk-deleting every row of the last page (#6014)
- c3f9ddd fix: hand over the code when the account cannot be read for the prompt page in a cross-site iframe
- 420ed58 fix: hide the SMTP port, SSL mode and connection test for Custom HTTP Email
- 5ceccdc fix: key session rows by application so ticking one does not tick the user's others (#6016)
- a6cd77f fix: let PayPal OAuth providers sign in against the live or sandbox environment (#6042)
- 996e527 fix: let regular users sign in to clients registered through DCR or CIMD
- 6675e51 fix: let users sign in with the Mailru, Soundcloud and PayPal OAuth providers (#6040)
- c13cbe5 fix: log the init data file import and recreate cert-built-in when it is missing
- 5a37f59 fix: only let the payment's user or an admin complete a Dummy payment
- 54014dc fix: read state, nonce and PKCE from the request object of authorization requests
- bd7b926 fix: reject a taken phone or email before sending the code to change it
- ad96a73 fix: reject reCAPTCHA v3 responses with a score below 0.5
- 8b24473 fix: remove the Infoflow third-party sub type that never received a suite ticket
- a7c3bb0 fix: rename the duplicated RADIUS client organization i18n key
- 0f0e7d4 fix: resolve a site's application by organization
- 0e36660 fix: say 10 minutes in the default verification code templates
- 07cad85 fix: send a valid price quantity range when creating Paddle transactions
- e9b4c66 fix: serve Swagger to admins when runmode is not dev
- d388c5e fix: store application redirect URIs and other domains as text so long lists can be saved
- 8ed4ee1 fix: use the Airwallex sandbox API host outside prod
- 42e1808 fix: use the sign-in issuer in logout messages and notify providers when one session ends
- 6a34e0c fix: write Redis sessions only once they hold data
AI summary Redesigned sign-in, sign-up, and forget pages
Changelog
Features
- 317188b feat(auth): redesign the sign-in, sign-up and forget pages and fix dark mode
- f231a93 feat(dcr): inherit EnableSigninSession and EnableWebAuthn from default application
- 20564f4 feat(helm): probe /api/health with a startup probe and configurable timings
- adc3f3e feat(helm): support service annotations (#5904)
- de6b49b feat(web): add AutoComplete for SAML attributes value (#5215)
- 6e11578 feat: Add LDAP group/OU hierarchy syncing with automatic user membership (#5052)
- c3a2bdf feat: Add cart icon to ProductStore/ProductBuy and quantity controls to ProductStore/ProductBuy/CartList. (#4984)
- d62736c feat: Enable ABAC support in /api/enforce and /api/batch-enforce
- fcd136f feat: Fixed an error when clicking the “delete” button on the cart list page. (#5075)
- 2c9a87a feat: Fixed cart anomalies when updating product information. (#5039)
- 813828b feat: Optimize the display of payment products. (#5115)
- c63b7b1 feat: Optimize the display of rechargeable product content on the ProductStorePage.js. (#5028)
- dea3db8 feat: Socks5 proxy supports auth (#5687)
- e54a8a6 feat: [mcp-3] implement OAuth 2.0 Dynamic Client Registration (RFC 7591) (#5097)
- cf1af97 feat: [mcp-4] implement RFC 8707 Resource Indicators for OAuth 2.0 (#5098)
- db457f4 feat: [mcp-5] add Application.Category and Application.Type fields for agent applications (MCP, A2A) (#5102)
- 0b9a09f feat: accept client ID metadata document URLs as client_id for MCP clients
- aafcefd feat: adapt forget password placeholder to configured providers
- 3609612 feat: add "/api/v1/traces" API to receive OpenClaw's OpenTelemetry metric (#5349)
- 9855187 feat: add "Existing Field" category for token attributes table in application edit page (#5041)
- fc60b91 feat: add .well-known metadata file
- 633ed2f feat: add AWS IAM syncer (#5043)
- 60f891d feat: add Agent list and edit pages (#5338)
- e32f419 feat: add Antd Select component for language selection (#5319)
- 2ee2cf3 feat: add Application.EnableGuestSignin field
- aedf5f4 feat: add Audit provider to forward audit logs to Syslog
- c82b996 feat: add Cart and payment fields to organization account items (#5070)
- bdebe71 feat: add CheckVerifyCodeWithLimitAndIp()
- a076f53 feat: add ContentTypeFilter
- e8b2ed9 feat: add DCR switch and support form_post and hybrid flow in consent page
- 061b42d feat: add DefaultTokenFormat to organization
- 96397c6 feat: add Entry list and edit pages
- b303b34 feat: add EntryMessageViewer (#5357)
- 2915c48 feat: add IP limit for SendEmail API
- a3f827a feat: add IsOriginValid() to check CORS
- 1c99786 feat: add Kerberos/SPNEGO authentication (#5225)
- cc796eb feat: add LDAP server attribute filtering per organization (#5222)
- 47ba5bd feat: add Languages to signup items
- 258a16a feat: add LogProvider interface
- 6a06aa5 feat: add Logo signup item to hide the logo on the signup page
- 64e8643 feat: add MCP server list/edit pages (#5278)
- 3b6de0b feat: add MCP store page (#5343)
- 879fedb feat: add MFA setup and captcha to web2
- 3d8a622 feat: add Marketplace to install app, provider and theme integrations
- 534321b feat: add OAuth 2.0 Token Exchange (RFC 8693) support (#4981)
- 2fa2946 feat: add OAuth consent page
- c1cd5f5 feat: add OAuth device login support (including frontend) (#5413)
- 0f5a9fb feat: add OIDC provider type
- 5c00a53 feat: add OpenClaw transcript storage and viewer (#5420)
- e3f8955 feat: add OpenSSF Best Practices badge to README
- 96dd90f feat: add PaginateSelect widget to fix non-pagination fetch API issue (#5023)
- a95070c feat: add Plan.IsExclusive field for single subscription enforcement (#5004)
- 3e924bf feat: add Provider.CustomLogoutUrl field
- 7e73676 feat: add RADIUS Message-Authenticator support with a per-provider switch
- bb784cd feat: add RFC 7009 token revocation endpoint
- 1431934 feat: add Resend email provider (#5200)
- f584e4f feat: add SAML NameID template to applications
- a241e03 feat: add SELinuxLogProvider
- c7feaa1 feat: add Site and Rule to Casdoor (#5194)
- 14b5781 feat: add Sync button to sync tools in MCP server edit page (#5360)
- 42dcbeb feat: add Tag signup item for user self-selecting tag on registration
- e2d8636 feat: add ThirdPartyLink DB table to support infinite third-party providers (#5392)
- d7406f0 feat: add a README to the Helm chart
- 45de1c0 feat: add a command palette, bulk row selection and inline form validation
- 9717cab feat: add a corner QR code for WeChat sign-in and a signin item to hide the theme switch
- e7cb30b feat: add a privacy policy next to the terms of use on the signin and signup pages
- 29dc456 feat: add account items for Deleted time, Last signin time and Last signin IP on the user page
- c08ad21 feat: add agentid to WeCom Silent auth URL and handle snsapi_privateinfo (#5575)
- 62c44a6 feat: add an organization option to skip the MFA challenge for RADIUS
- d278130 feat: add application-level token group format option
- fcda78f feat: add application.PageHtml field
- 7fe14b7 feat: add application.SamlC14nPrefix field
- 4bdddc4 feat: add avatar claim to custom jwt (#5688)
- b261c77 feat: add back buy-product API for compatibility (#5362)
- ea98a23 feat: add backchannel logout URL field to application edit page
- 89cfaa3 feat: add basePath to serve Casdoor under a sub-path
- d761093 feat: add batch UpdatePermissions API to reduce Casbin enforcer rebuilds
- cf5a4ee feat: add bug report and feature request issue forms
- 0f9d4b2 feat: add captcha validation to signup (#5466)
- 82e214f feat: add client ID metadata document clients to the organization passed in the authorize request
- efbff54 feat: add columns parameter to update-role and update-permission
- a1c4efe feat: add configurable password history check
- 9b6d2f4 feat: add configurable record retention days per organization
- f71c5e0 feat: add container health checks
- 6a199fb feat: add coupon system with universal/product/user scopes (#5397)
- abdc155 feat: add default record retention days to global settings
- f9d7331 feat: add defaultTag for auto-assigning tag on user signup
- 6131fe5 feat: add detail field to record for signin failure classification
- 8020f59 feat: add disk and network usage to system info page with improved layout (#5304)
- feba794 feat: add enableGroups switch to the LDAP edit page
- 4ba1f3f feat: add expire time presets and expired state to invitation pages
- 0e9fbae feat: add expire time to invitations
- cea34f6 feat: add forward auth endpoint for Traefik, Caddy and Nginx
- 99317b6 feat: add global settings page with database connection pool settings
- c232480 feat: add grant/revoke-consent to API policy whitelist
- c9abab6 feat: add group add/delete actions to group tree page
- 9ad748b feat: add iframe type popup login support (#5400)
- 0fa935a feat: add initData values to the Helm chart
- 49e9246 feat: add join nodes for OpenClaw session graph (#5393)
- bbafdea feat: add key list/edit pages (#5285)
- 00f431e feat: add local OpenClaw transcript sync for session logs (#5370)
- c6de046 feat: add local uniface face id support (#5588)
- 2e797d2 feat: add magic link sign-in
- c5c1bbb feat: add missing "min" param for Cloud PNVS SMS provider (#5180)
- fd2c643 feat: add missing @PARAM annotations to undocumented handlers (#5486)
- 4ada5dc feat: add missing Content-Type header to JSON fetch requests
- 8f8ca85 feat: add missing
Telegramfield toUserstruct (#5151) - 5c1518c feat: add missing new-user-ldap/new-user-syncer webhook events to UI
- 6e79dad feat: add missing organization segment to syncer add URL
- 6602b9a feat: add missing user fields to GetTranslatedUserItems, getBuiltInAccountItems, init_data template, and UserFields (#5144)
- 7244032 feat: add mobile one-click grant for native app sign-in with Alibaba Cloud PNVS
- 72bd834 feat: add native-sso support (#5438)
- 878303c feat: add new Scan Provider type: Security Scan (#5430)
- 50c8701 feat: add option to disable self signup but keep provider signup
- 50a6a92 feat: add organization sync to DingTalk syncer (#4989)
- 77623c0 feat: add organization-level defaultTokenFields for new applications
- 45f21fb feat: add organization-level exclusive signin across applications
- bcdfe1f feat: add parseAndValidateSubjectToken()
- d39880b feat: add permanent avatar switch to organization settings (#5295)
- 95c32fe feat: add properties field to product
- 9f29a51 feat: add provider-based entry viewers for SELinux logs (#5364)
- f19c603 feat: add public paths to sites and check site rules in forward auth
- 0ab2bc4 feat: add rate limiting to /api/verify-code OTP endpoint (#5270)
- 913dce8 feat: add redirectUriMatchesPattern()
- 15dc024 feat: add scan provider interface and migrate existing MCP scan to MCP scan provider (#5391)
- 923875e feat: add scope-to-tool permission checking for Casdoor MCP server (#5104)
- 8ed7360 feat: add sign-in success and failure counter to Prometheus metrics
- 8d18322 feat: add support for OAuth 2.0 DPoP (Demonstrating Proof of Possession)
- e639da4 feat: add user CRUD tools to MCP server
- 15376e9 feat: add verification code grant for native app sign-in
- ca03b78 feat: add webAuthnRpId and webAuthnRpOrigins config for passkeys on sibling subdomains
- b5c3e3d feat: add webhook delivery persistence, retry mechanism and replay UI (#5337)
- 9c6c3f6 feat: align per-app OIDC discovery issuer with JWT iss claim
- 113efe3 feat: align reset email and phone buttons in user edit page (#5574)
- b41c87d feat: allow org admin to sync LDAP users
- f879f61 feat: allow user to set binding rule in provider items (#5224)
- ba38474 feat: allow using keys of Prometheus type to call Casdoor /api/metrics API
- 028b3a6 feat: also tag Docker images as vX.Y.Z, X.Y and X
- 86d807d feat: apply TokenFields whitelist to userinfo API
- a8f3b2f feat: apply application.DefaultGroup for OAuth signups (#5157)
- 3fa78ba feat: apply loginPage captcha rule check to SendCodeInput.js (#5369)
- 34f49a2 feat: apply the init data file continuously with merge and watch modes
- fcd6b0c feat: ask for the code only after it is sent on verification-code sign-in
- e1b422c feat: auto set name and display name for new provider
- 610b694 feat: auto-redirect OAuth signup to callback URL (#4941)
- 48da41e feat: auto-revoke permissions after configurable expire time
- 4e60aba feat: avoid blank page when the frontend fails to load
- af4323a feat: avoid full table scan and run token cleanup asynchronously on startup
- ffd5031 feat: back DeviceAuthMap with Redis for multi-replica deployments
- 2174c8d feat: bind provider IDs in WeCom/DingTalk/Lark syncers (#5033)
- dccc1ce feat: brand the description, og tags and manifest of sign-in pages
- 6e34bf6 feat: build OpenClaw session graphs from DB entries (#5382)
- fa5ec63 feat: can fetch OAuth token in MCP server edit page
- 3d40b83 feat: can free input in "Tag" in Addresses table
- 1cd7b72 feat: can scan intranet MCP servers (#5359)
- 34da2e4 feat: can sync MCP tools and set "is allowed" for MCP tool (#5301)
- b24c8d4 feat: capture Beego session id before regeneration so logout deletes the DB session row
- e6a0349 feat: center the WeChat QR code and hide the app name when the sign-in page is embedded
- 7af354a feat: change provider Content field to mediumtext to fix overflow error
- 86f1579 feat: change to left sidebar
- 271883b feat: clean up sessions for all applications, not only app-built-in
- 23b7d2d feat: clear unsupported domains for permissions on models without domain definition
- 385458b feat: create record on save instead of on Add click
- 5db7e12 feat: deduplicate permission RBAC by building grouping policies in run time (#5374)
- 04834b8 feat: delete by original owner and name when canceling add
- dc0fe30 feat: disable /forget API when "Forgot Password?" signin item is hidden (#4977)
- 06f2fc7 feat: disable persisted-entity actions in user, application, invitation and payment add pages
- c31c9e6 feat: don't hide global scrollbar, revert: 0077839
- a9172ef feat: don't mask private keys in /get-certs for admin users (#5554)
- 776df07 feat: don't overwrite userAccountControl on AD password reset
- f4dba0f feat: don't panic on missing lsof command in StopOldInstance
- e6af197 feat: emit LDAP memberOf as valid DN instead of raw "owner/name" group id
- 972026c feat: enable short-state for Telegram OIDC to avoid "state too long" error
- eb4350d feat: encode redirect_uri, scope and state in Custom provider auth URL
- 39502a3 feat: enhance OpenClaw session graph text capture and tool call/result linking (#5405)
- f174a7c feat: enhance permission checks for org admins (#5416)
- c4b1456 feat: enhance webhook worker reliability and event pagination (#5344)
- cfb1785 feat: ensure getApplicationsByOrganization runs after user is loaded in user edit page
- 8b8c113 feat: enter the sign-in verification code one digit per box and sign in when it is complete
- 5f435b9 feat: execute embedded scripts in custom signin/signup HTML
- ff4dbe0 feat: exempt org admins from CheckLoginPermission to avoid login lockout
- 1266c2a feat: expand OAuth token scope length to 300
- 2bfe53c feat: failed HTTP Basic Authentication won't trigger error now
- d8031e0 feat: fall back to English when unsupported Accept-Language locale is requested (#5177)
- e6d8e04 feat: fall back to user/list_id in WeCom syncer
- 6e30f7e feat: filter invalid permissions in UploadPermissions API
- ca0fb03 feat: fix "--config" flag to actually load specified configuration file (#5139)
- cbe1180 feat: fix "Password cannot be empty" bug in OAuth 2.0 device authorization flow
- 62bd84b feat: fix "sqlite3" driverName to "sqlite"
- 1465f20 feat: fix 100% CPU/memory usage displaying as green success state on System Info page (#5306)
- e0f0489 feat: fix Alipay OAuth provider by loading private key from cert object (#5119)
- 1c9df1c feat: fix Azure SQL DB panic by migrating to the official go-mssqldb fork (#5082)
- e102553 feat: fix BalanceCredit to act as overdraft limit, not minimum balance floor (#5210)
- d3d7402 feat: fix CAPTCHA rule enforcement in verification code flow (#5009)
- 94c1737 feat: fix DeleteSession to handle missing sessions gracefully (#4979)
- 0fdcf27 feat: fix DingTalk syncer to fetch nested departments recursively (#5036)
- 6cc5650 feat: fix Dummy payment provider returning zero price in NotifyResult (#5090)
- a5e7b33 feat: fix GetPermissionsByModel model parameter in enforce APIs
- ce24fb5 feat: fix LDAP sync crash on large user sets due to PostgreSQL parameter limit (#5268)
- 9b7a2e8 feat: fix OAuth signin callback bug for method=signin
- eefda7c feat: fix OAuth state parameter re-encoding in redirect URL to prevent OIDC state mismatch (#5262)
- be6edd9 feat: fix StartWebhookDeliveryWorker always enabled issue
- 2c473eb feat: fix Twilio SMS sending verification code bug (#5205)
- da4d6fc feat: fix UpdatePolicy/UpdatePolicies APIs for empty field update
- e2aaa3a feat: fix bug in New Telegram OIDC flow
- b922f33 feat: fix bug in casdoor-helm CI
- 0ca23e5 feat: fix bug in site's owner/organization (#5239)
- 7feefad feat: fix bug that PKCE fails when multiple custom OAuth providers are configured (#5117)
- 6b8350a feat: fix bug that invitation links fail with external OAuth providers (#5229)
- 6573bf4 feat: fix bug that there's no cert field in Alipay OAuth provider
- 7c965b8 feat: fix bug that verification-code login fails with "user does not exist" (regression from #5369)
- efc17ad feat: fix bug: /api/impersonate-user is denied by authz filter for org admins because frontend only sends username, while filter only parses owner/name
- 8aa57b3 feat: fix bug: Alipay oauth login returns "invalid token" and no Cert configuration in UI
- 6080b6b feat: fix bug: COS upload fails with SignatureDoesNotMatch when object key contains spaces
- 8e381f1 feat: fix bug: Forget-password "Missing parameter" on retry after any post-code password validation failure
- 946f13f feat: fix bug: Forget-password fails with "Missing parameter" when pressing Enter to submit verification code
- 8e4aec8 feat: fix bug: SendCodeInput does nothing with Dynamic / Internet-Only captcha when 4th arg is missing
- 93b4177 feat: fix bug: SendCodeInput layout is broken after replacing Input.Search with Input + addonAfter
- 1b9496b feat: fix bug: XLSX Import Converts Empty Array Fields to null Instead of []
- 42a910d feat: fix bug: global admin cannot exit impersonation when impersonating a user in a different organization
- fd0a446 feat: fix collapsed left sidebar highlight bug
- f79be4f feat: fix color picker bug in theme UI
- 7acafa3 feat: fix cramped toolbar buttons and unnecessary scrollbars in admin UI (#5641)
- 0b7a0dc feat: fix empty "Binding providers" prompt step appearing after signup (#5221)
- 85432ac feat: fix field visibility logic for provider types in ProviderEditPage (#5134)
- 1e0bd4a feat: fix get-organization API issue for org admin
- b466abf feat: fix get-organizations API issue
- 56feff5 feat: fix icons for 5 payment providers
- f2a96a7 feat: fix invitation code lost during signup when form field is not visible (#5231)
- 753b821 feat: fix issue that User.Cart cannot be updated without org account items (#5076)
- 875b9cb feat: fix issue that Webhook records for set-password API were missing user context (#5008)
- 1ef3274 feat: fix last element not visible in Edit Application form tabs (#5275)
- b1be98d feat: fix mutual exclusion login bug
- 159b190 feat: fix nil pointer panic in update-user API for non-existent account items (#5084)
- 5f18fcf feat: fix normal users blocked from /product-store (#5195)
- ed605ae feat: fix proxy server panic issue if port has been used (#5240)
- 49f8ad8 feat: fix renderRightDropdown() scrollbar UI bug
- 2ad5630 feat: fix shared application login for users from linked organizations
- 786ec6a feat: fix theme color bug
- 7afd2f9 feat: fix unreadable dark mode text on entry pages (login, signup, forget) (#5640)
- 3d4f906 feat: fix webhook event page bugs
- 4eec750 feat: fix wrong verb sent in oauth state (signup instead of signin)
- 47673e8 feat: forward the request language to the Custom HTTP Email provider (#5670)
- 49bf075 feat: go on to the signup page when a verification-code sign-in finds no account
- 6795df7 feat: grant the plan's role to subscribers while their subscription is active
- d8cdb49 feat: group release notes by commit type
- 2a05e38 feat: guard against nil prevLdap and missing id in UpdateLdap
- d3f7cce feat: guide users instead of erroring when WeChat login opens in-app without an Official Account
- 3b1d923 feat: handle DingTalk API errors and HTTP status codes
- 760c5f3 feat: hash master password and hide LDAPs on organization add
- 0c4ba7b feat: hide forget-password verification methods without a matching Email/SMS provider
- 90e9a42 feat: honor userNavItems for home redirect and nav item checkboxes
- 5c8d472 feat: ignore /build-temp folder
- 2eb783b feat: implement RFC 7592 dynamic client registration management
- 17575ea feat: implement RFC 9728 OAuth 2.0 Protected Resource Metadata for MCP server discovery (#5092)
- 2582095 feat: implement groups in permissions (#5525)
- 475b2ec feat: implement minimal HTML+JS OAuth callback and provider_hint flows (#5238)
- ed88b24 feat: improve GetOAuthToken logic
- c686a17 feat: improve MFA page UI
- 0e459bb feat: improve OIDC conformance for hybrid flow, prompt and max_age
- 55024b8 feat: improve README (#5410)
- b46c258 feat: improve browser language detection
- 55ae44b feat: improve dashboard page data
- 3aa8823 feat: improve error handling in IsAllowed()
- b293399 feat: improve error handling in OLTP APIs
- d363633 feat: improve filter check
- 24464c1 feat: improve go panic handling
- a55208b feat: improve loading UI
- 5789244 feat: improve loading UI for xxx edit pages
- d830353 feat: improve login page provider button UI
- d19b6b4 feat: improve objOwner check
- e6c334d feat: improve permission command API
- c0fea3b feat: improve tab height UI in application edit page (#5055)
- 11d7ce6 feat: improve table column width
- 353e8dd feat: improve twitter error handling
- b47df29 feat: inherit branding fields from defaultApplication on DCR registration
- 668c4d7 feat: issue ID-JAGs through token exchange for MCP enterprise-managed authorization
- 61841a9 feat: keep lastSigninTime as previous login in password grant token
- 6fc621b feat: keep logout audit records when logPostOnly is enabled
- ce178f6 feat: keep password requirement popover open until requirements are met
- 65f8c8c feat: keep the RFC 8707 resource audience on the refresh_token grant (#5744)
- ce80c93 feat: lay out console forms in two columns and let list tables hide columns
- d6302a1 feat: let an LDAP server opt in to password reset
- 901236a feat: let organization admins use fonts, images and HTML to customize the sign-in pages
- 33ab64f feat: let the global admin set the trusted database hosts of an organization
- 5851b1d feat: let users grant only some of the requested scopes on the consent page
- 8ab47f6 feat: link integration guides to the Marketplace site for the UI language
- d261756 feat: link the v3 to v4 upgrade guide in README
- c9fb2b5 feat: link to the Casdoor Authenticator app in MFA setup, MFA accounts and README
- f960510 feat: load DB first in GetGroupsForUser and GetAllUsersByGroup
- cbd8172 feat: look up MCP applications under the admin owner
- 3f8e94e feat: make DingTalk syncer respect TableColumns field mapping configuration (#5073)
- b5d6278 feat: make id_token_hint optional for OIDC RP-initiated logout
- 7395f66 feat: make token retention days configurable per organization
- 0054c9b feat: mark cart items as invalid when product is removed, renamed, or currency is changed. (#5050)
- 4cc40c2 feat: mark which groups granted each of a user's roles
- 5c610cd feat: mask some org fields for normal users
- 0decaf8 feat: match email case-insensitively in GetEmailAndPhone
- bf12468 feat: merge CasWAF's cert related code into Casdoor's cert code (#5171)
- 8b99bfc feat: migrate more code to web2
- 03a0746 feat: move captcha provider validation from frontend filter to backend check (#5019)
- 14fdb98 feat: move casbin group rules on user rename
- e64a00b feat: move configs of defaultApplication and maxItemsForFlatMenu to backend app.conf (#5325)
- 63dca2b feat: move the translations from Crowdin to Caslingo
- 4912c76 feat: normalize and validate phone numbers before saving
- 4d46441 feat: normalize phone to E.164 before user lookup in signin flow
- 7211d83 feat: only init site map when proxy server is started (#5265)
- fc96692 feat: only offer the MFA methods in MFA items on the account page and MFA setup
- 7f2f7f2 feat: open account menu on hover
- 947321a feat: pass countryCode to SendCodeInput on login page
- 607b54c feat: pass user headers and recheck permissions in site proxy
- db3310e feat: permanently delete a soft-deleted user when deleting it again
- b56166e feat: pin the QR code corner to the frame's corner when the sign-in page is embedded
- d041bdf feat: populate user last_signin_time and last_signin_ip on login
- 6bbe177 feat: preserve RFC 8707 resource across browser login flow (#5298)
- fcc678f feat: preserve RFC 8707 resource parameter in OAuth consent flow
- f68ce91 feat: preserve Unicode group names in dnToGroupName
- 876e6ab feat: preserve device userCode through social login round-trip
- ae45e92 feat: preserve rfc 8707 resource in fast auto-signin flow (#5690)
- cd048ac feat: prevent LDAP sync from deleting user's existing groups (#5580)
- 55f9356 feat: prevent application pageHtml from leaking into management console
- 9dd9bc7 feat: prevent privilege escalation via forged access keys in AddKey/UpdateKey
- 0fc1699 feat: preview Marketplace themes on the sign-in page before installing
- d924589 feat: prompt for email, phone and display name after third-party sign-in
- 3f1cb72 feat: publish the Helm chart as casdoor on GHCR and Artifact Hub
- 402b4ba feat: publish the frontend build to npm and load it from a CDN
- c7a0bad feat: put session id in sid claim instead of jti in backchannel logout token
- ef729e7 feat: query adapter table directly in GetPolicies to show permission policies regardless of model field count
- 9abef66 feat: redirect to /account via full reload when password update is required
- c67112b feat: redirect to account page for forced password change (#5181)
- 6061f8a feat: reduce memory usage for syncer
- b76467c feat: refactor provider edit page into different JS files (#5141)
- 39d6da2 feat: reject forgot password for LDAP users before sending the code
- d82a4d4 feat: remove Casvisor dependency and use local Record struct (#5287)
- 05b5837 feat: remove length limit on permission description field
- 4086709 feat: remove special handling for Dummy payment provider (#5068)
- 100a542 feat: remove the AI Assistant button and its config
- 1a2506a feat: render the forced password update as a standalone auth page
- 02e8ace feat: renew subscriptions automatically with balance and Stripe
- 6f5f72b feat: replace DisableSsl boolean with SslMode enum for Email providers (#5063)
- 2035ff5 feat: replace the Ant Design console with the shadcn/ui frontend
- f3693d9 feat: resolve phone lookup by E.164 number using countryCode
- c51429c feat: respect ?columns= query param in update-application (#5536)
- c293f0b feat: respect application theme when computing dark mode
- b26bbbe feat: restrict cross-org webhooks and check org on add APIs
- 78f93f4 feat: restyle toasts as plain cards with colored icons instead of tinted backgrounds
- ff36d00 feat: return JWT-Custom token attributes in the userinfo response
- c63a8cd feat: return stable error code in login failure response
- 9fd67ad feat: return token's issuing client_id in introspection response
- a1589fc feat: revert PR: "feat: add native-sso support (#5438)"
- b8f6946 feat: rotate Marketplace themes on the sign-in page of demo sites
- 5be6bbc feat: save the language chosen on the signup page to the new user (#5672)
- 043d2e1 feat: self-host Inter font instead of Google Fonts CDN (#5550)
- 4138615 feat: send backchannel logout before expiring tokens in sso-logout (#5515)
- dc7521b feat: serve robots.txt from the frontend build
- 08ee19e feat: set host to empty for syncer edit page
- f5f3e18 feat: set index.html lang attribute to prevent browser mistranslation
- 142812f feat: set the initial admin password from initAdminPassword or on a welcome page
- a10aa13 feat: show Chinese Marketplace integrations only in Chinese and fall back to marketplace.casdoor.cn
- b4ba9c0 feat: show MFA setup for LDAP users with empty signupApplication
- cd882d4 feat: show Marketplace themes on all entry pages and the console of demo sites
- f5548a0 feat: show device, IP and last active time for each session
- 96ca15a feat: show display name in role and permission edit pages
- 673e0dd feat: show the Marketplace theme given by ?theme= on embedded sign-in pages of demo sites
- 9f107cb feat: show the latest release on the system info page and upgrade official release binaries in one click
- ab966bc feat: show which roles and groups granted each of a user's permissions
- 76cac8b feat: store OAuth tokens per provider instead of single originalToken field (#5016)
- 9bf0621 feat: strip wrapping <style> tags from formCss before rendering
- ae95df3 feat: support "/api/v1/metrics" and "/api/v1/logs" APIs from OpenClaw
- 8994ca9 feat: support "snsapi_privateinfo" scope in WeCom OAuth provider to support fetching Emails (#5034)
- 96d4948 feat: support $user.displayName in SAML attribute values
- 9b1e641 feat: support Alipay open_id when user_id is absent
- 2076ae4 feat: support GET request in MCP SSE (#5363)
- c661055 feat: support JWT Profile for OAuth 2.0 Client Grants (RFC 7523) (#5124)
- fa8dd17 feat: support LDAP search by uidNumber and gidNumber
- 85a9129 feat: support OIDC prompt=none on the authorize page (#5884)
- a2151b0 feat: support OpenID Connect Back-Channel Logout 1.0 (RP-Initiated SLO)
- 65dbed8 feat: support RFC 9207 iss parameter in authorization responses
- ea9368a feat: support Redis Cluster via multiple redisEndpoint addresses
- 81f7dfb feat: support SAML IdP-initiated SSO
- 282a0f3 feat: support SAML Single Logout protocol
- f3d868e feat: support Twilio Verify as an SMS provider
- 95f1720 feat: support URL templates for Custom OAuth providers
- cfd8645 feat: support app-level dark logo
- c953491 feat: support camel in /api/update-user columns arg
- a83096e feat: support custom TableColumns mapping in Lark syncer (e.g. enterprise_email) (#5961)
- c389ee6 feat: support department sync in WeCom syncer
- 5160246 feat: support disabling the Casdoor console for non-admin users
- a00614e feat: support group-level subscriptions
- b37f4f5 feat: support groups in SCIM
- 896dbbc feat: support invite-only pricing
- 6501007 feat: support max session count for exclusive signin
- 4f26a0a feat: support multiple default groups in LDAP
- a46e048 feat: support phone number login in WeChat Mini Program
- 161b06a feat: support popup mode for Captcha providers
- 1ffe884 feat: support private_key_jwt client authentication for DCR and CIMD clients
- ee3e7b1 feat: support provider.EnableProxy option in OAuth provider
- 915d8f0 feat: support recipient for notification sending (#5627)
- 37d9ee1 feat: support regex/wildcard scopes in OAuth authorization requests (#5223)
- 7d2a560 feat: support running as a Windows service
- 418e411 feat: support sambaSamAccount in the built-in LDAP server
- 8acb76f feat: support sessionCookieLiftTime in app.conf
- afa5db8 feat: support the WeChat Pay public key mode and merchant certificates in PEM
- 50a932e feat: support user's accessKey in auto signin filter
- 206c7a1 feat: switch server source to "https://mcp.casdoor.org/registry.json" (#5366)
- fb34b75 feat: sync DingTalk title to user profile
- c9c3cd1 feat: sync casbin enforcer on group rename in GroupChangeTrigger
- 939535e feat: sync newOrganization() accountItems with getBuiltInAccountItems() (#5146)
- 33e997d feat: title the prompt page by what it asks for
- fc48e96 feat: translate frontend i18n texts
- d840049 feat: translate frontend i18n texts
- 3282074 feat: trust external OIDC issuers as application credentials
- 86591a5 feat: turn the demo site's theme switcher into a sidebar listing every theme with its screenshot
- 91e6562 feat: unmask Email/SMS provider categories so forget password works
- 445f0b1 feat: update i18n translations (#5021)
- 661d483 feat: upgrade Go toolchain to 1.25.8 (#5328)
- c813b1d feat: upgrade Go toolchain to 1.26.10 (#5978)
- 0806d66 feat: upgrade React to 19.3.0 in web
- 0a2b562 feat: upgrade grpc dependency (#5318)
- 5242da1 feat: upgrade some Go dependencies (#5980)
- 6446d04 feat: upgrade to Antd 6.3.5
- 26b883a feat: upgrade to golang:1.24.13 and node:20.20.1 (LTS), update Dockerfile base images (#5246)
- 69f6220 feat: use MustCols for partial application update to prevent silent no-op
- e28faa3 feat: use backend config app.conf instead of frontend config (#5279)
- 4cd9b2e feat: use casbin SyncedEnforcer to prevent concurrent LDAP sync crash
- 61cb52c feat: use mediumtext for description fields to remove length limit
- 225cafc feat: use one box per digit for every verification code field
- c7c7f21 feat: use the regular text size for the divider and the sign-in method tabs
- 0f8f75b feat: validate OAuth scopes against Application config; return invalid_scope per RFC 6749 (#5153)
- afb3d3c feat: wrap
groupscolumn in backticks to avoid MySQL 8 reserved keyword conflict - dec2ac5 feat: wrap xorm-adapter RemovePolicy to prevent mass deletion on empty fields (#5282)
- 747f4d0 fix: revert "feat: fix BalanceCredit to act as overdraft limit, not minimum balance floor" (#5214)
Bug fixes
- b7e95c8 fix(apple): use the real name from Sign in with Apple as the display name
- f3f0ab2 fix(auth): drop the app name heading from the signup and login pages
- 84b6387 fix(auth): drop the panel card on a phone
- bb89541 fix(auth): keep the sign-in query string on the forget and organization redirects
- 595a3f0 fix(auth): make the sign-in, sign-up and forget pages usable on a phone
- c545006 fix(auth): restore the missing web-old sign-in, forget and prompt behaviors
- a692e2e fix(auth): return to the stored sign-in URL from the forget page's Sign In link (#5903)
- 537a6ae fix(auth): sign in directly when the OAuth redirect URI points back at Casdoor
- 5609c51 fix(auth): widen the terms-of-use dialog on a phone
- d19c1a7 fix(authz): resolve owner/name from form data for non-JSON POST bodies
- 52b4ef6 fix(console): follow web-old for account item tabs, previews and rule editing
- 59e062d fix(console): pass the request organization when fetching a token or webhook
- f7b6bbd fix(console): restore app card links, dashboard scoping and admin MFA enabling
- d8ff27c fix(console): restore the missing web-old save validations and field formats
- 8b726a2 fix(console): scope verification list and app search to the request organization
- 78b2c43 fix(login): validate the sign-in form before posting it
- 7b35520 fix(manifests): add missing target.type to HPA memory metric (#5956)
- 6af2b5e fix(oauth): keep the OAuth params on the sign-up link so signup can return to the app
- aa732c8 fix(signup): restore the correct signup page's behavior and layout
- 35bfe1b fix(web): keep draft rows in key-value tables
- cdda696 fix(web): prevent dashboard graph overlap when y-axis values increase
- 1b46807 fix: Fixed LDAP groups synchronization routine (casdoor#5378) (#5545)
- 8ab2a33 fix: PostgreSQL queries on token.user column (#5740)
- c30a401 fix: URL-encode OAuth state on interactive login, consent, prompt, signup and post-logout redirects
- c04127f fix: URL-encode state, nonce and other OAuth parameters in sign-in API requests (#5928)
- ee0fd63 fix: [mcp-2] add OAuth 2.0 Authorization Server Metadata endpoints (RFC 8414) (#5094)
- 6e6ad0a fix: accept JWT-Standard subject tokens in token exchange
- 47ac73f fix: accept SAML POST binding requests that only use default XML namespaces
- 69bc4be fix: accept form-urlencoded client credentials in the Basic header of OAuth endpoints (#5982)
- 9292b5b fix: accept passwords in organizations without a password type
- 76e0944 fix: add "Casdoor Permission Log" option to frontend
- a53eff0 fix: add "Casdoor Permission Log" provider
- 983dd4a fix: add Clear button to MCP server edit page
- 5d64897 fix: add CreatedTime field to cart items and sort by timestamp (#5066)
- 87ed11b fix: add CustomScopeTable to application edit page
- 3c9fed3 fix: add Entry.Provider field
- a44f68e fix: add FUNDING.yml
- f734d12 fix: add IsValidSamlRedirectURL
- 31ff229 fix: add OIDC and SAML tabs in application edit page
- f473dd5 fix: add RequestBodyFilter to fix POST body JSON error without Content-Type issue
- 26edb4d fix: add Setting.getAvatarPlaceholder
- 9efa794 fix: add Setting.getEffectiveAvatarUrl
- 5c014d4 fix: add back Payment.ProductName and ProductDisplayName fields for backward compatibility
- 628f325 fix: add client IP and UA to entry
- fa8a769 fix: add duplicate key detection tests for i18n JSON files (#4994)
- 7ce4bc5 fix: add grant-type:token-exchange to grant type options in application edit page
- 20d907b fix: add group's properties field
- 5f439e4 fix: add isNonEmptyEntryField() to entry edit page
- 06e9453 fix: add left margin to top-right user avatar
- 9490983 fix: add margin to 3 store pages
- f4ee703 fix: add missing oidc column for OIDC provider account linking
- 7ee5bcb fix: add missing permission checks to the resource and invoice-payment APIs
- b3eae88 fix: add missing swagger annotations to rule and site APIs (#5281)
- 5a8d07b fix: add more options to provider category and type options in list page
- 6c373ef fix: add provider.State to log providers
- f798445 fix: add provider_log_agent_openclaw and IP check
- bfe83ac fix: add session graph fullscreen button
- 128e73b fix: add timeout and SSRF guard to SAML and OIDC logout requests
- 073ca65 fix: add top breadcrumb bar
- 59e0aa8 fix: align MCP request parsing and add organization LDAP password and RADIUS switches
- 6eb282e fix: align default tag, storage provider and UID number inputs
- 1fac2a8 fix: allow X-Requested-With header in CORS preflight responses
- 9172942 fix: allow an org-scoped subject to update its own organization
- 418ee1a fix: allow different organizations to use the same group name
- ff77ae3 fix: allow only global admins to change applications' custom HTML
- 3b274ff fix: allow org admins to import groups, roles and permissions via xlsx
- 5702bb1 fix: allow org admins to upload Direct resources to their own storage providers
- 7c08e92 fix: allow syncers and adapters to use a trusted database server
- 1f2aa29 fix: answer 401 with a Bearer or DPoP challenge from /api/userinfo for a missing or invalid access token
- 963c72c fix: apply language switch immediately without a page reload
- 4c39b76 fix: apply organization default avatar in AddUser when avatar is empty
- 24389fe fix: apply table columns and paging in Active Directory syncer
- 8272c76 fix: apply the filter of SCIM user and group lists
- bcb04c6 fix: attribute audit records of unauthenticated requests to an organization
- 6c214fe fix: authorize get-permissions-by-submitter against the signed-in user
- 4482c21 fix: authorize session APIs against sessionPkId instead of id
- 6fd6c25 fix: avoid a nil pointer panic in introspect when the token carries no user claims (#5789)
- a437fc5 fix: avoid crashing the providers page on providers of removed categories
- 0ca00f2 fix: avoid panic in GetMaskedEmail when the domain has no dot (#5792)
- 4729ca9 fix: bind MFA remember to device and block avatar SSRF and forged payment notifies
- c2c124e fix: bind token exchange to the audience and organization of the target application
- c75a9a7 fix: block DSN injection and cross-tenant casbin adapters and harden CAS, DPoP and MFA checks
- 285aa49 fix: block MCP tool allowlist bypass and MicrosoftOnline email takeover
- 4dd0373 fix: block MFA bypass via required-MFA prompt and forbidden users' access keys
- 36d6ac7 fix: block OAuth username binding takeover, cross-tenant app login and group injection
- df5089e fix: block SQL issue via webhook event sort field and syncer column names
- 5ea9c22 fix: block app identity spoofing, forged Google One Tap tokens and unverified phone binding
- dd6ed28 fix: block captcha bypass, DCR token abuse, tenant SSRF and balance races
- e1631c8 fix: block cross-org API permission fallback on empty owner
- 5734a7e fix: block cross-org token escalation, CAS open service, face image SSRF and secretless refresh
- 9441636 fix: block cross-org token minting and secret-field query oracles
- 5485455 fix: block cross-origin cookie writes, client-chosen access keys and tokens of pending sign-ins
- 2388c13 fix: block cross-tenant LDAP, cert, order and intranet access abuse
- cc9ede6 fix: block cross-tenant keytab, SSRF, WeChat ticket and leaks
- 2520a49 fix: block device-login session escalation, permission adapter table abuse and password-only sign-in policy bypass
- 38566b2 fix: block intranet addresses in non-built-in organizations' webhooks
- 33ac60b fix: block javascript: URLs in CAS, OAuth and SAML logout redirects
- b8944f8 fix: block payment notify races and tenant DB access to intranet hosts
- ca348d2 fix: block reusing another organization's cert name as JWKS kid
- d929e6a fix: carry the OAuth provider's email_verified through to the user (#5828)
- 1594e73 fix: center custom text items and keep the footer readable over a background image on auth pages
- 70756cd fix: change graph layout algorithm
- f24b9b3 fix: change run-syncer API from GET to POST
- 6600f8c fix: check link request origin, verify proxy TLS and group removal rule
- 8e327a1 fix: check owner in UpdateKey() API (#5297)
- 0b7a32c fix: check terms of use by default on login page
- ad2e903 fix: check terms of use by default on signup page
- 7c6e520 fix: check token revocation in token exchange, enforce MFA and verified email when binding social logins
- 6f8383e fix: clean up expired tokens in batches to avoid OOM
- b9e4a0f fix: clear captcha input when refreshing inline captcha
- ada7661 fix: compare user IDs first to recognize the user's own account page
- 1eb8309 fix: copy the full text of truncated values in the token and key lists (#6000)
- a3cfeff fix: correct Ukrainian (uk) i18n translations (#5775)
- 96e74a0 fix: correct Ukrainian (uk) i18n translations (#5869)
- 9e87bd3 fix: correct swapped product name and display name in alipay notify (#5794)
- 8bb9ddc fix: de-duplicate i18n translation keys in frontend and backend (#4997)
- f087a8b fix: deduplicate the i18n strings
- b360600 fix: default the MFA setup wizard to the organization's required factor
- 7cbfe95 fix: default the OIDC user ID mapping to sub and fall back to sub when the mapped claim is missing
- 4d1f75f fix: default the owner and password type of new organizations
- 9c8133e fix: detect HTTPS from TLS and X-Forwarded-Proto in site proxy callback URL
- 6dbbc22 fix: do not re-init login theme algorithm from localStorage (#5773)
- 9658a29 fix: don't collect OpenClaw metrics entries for now
- fe0acf8 fix: don't delete web/build before the build-temp swap
- af7ba94 fix: don't mark every group as having children in GetGroups()
- 8f060c2 fix: don't prefill a random invalid phone number for new users
- 6da6bc1 fix: drop the same-database policy table when deleting its adapter
- 39ac13b fix: enable password login and inherit providers for DCR-registered apps
- b85cc1a fix: enable short state for Telegram OIDC in provider_hint redirect
- e4b130b fix: end access-token sessions when the token is revoked by SSO logout
- 88a9743 fix: enforce MCP token scopes on token-derived session cookies
- 7f8f544 fix: enforce MFA on WebAuthn sign-in and block auth code replay
- 27c23a2 fix: enforce SAML audience, validity window, InResponseTo and replay protection in SP
- 5564a8b fix: enforce email and phone uniqueness on signup
- 8ccba8d fix: enforce password update and MFA setup on the server side
- 1a40637 fix: enforce sign-in policies for URL password login and block unverified email binding
- 229244f fix: expire device codes after the expires_in returned by device authorization
- b21c36d fix: expire tokens and clear the forced password change when update-user changes the password
- 1c4aff0 fix: extend application with reverse proxy fields (#5113)
- 27140a1 fix: fall back to shared swagger folder for thin instances
- f6f4e89 fix: finish a WeChat QR sign-in in the sign-in page and show a spinner on the callback page
- 9193408 fix: fix Can't resolve 'rc-util/es/isEqual' bug
- 3343d69 fix: fix Dummy payment provider to simulate external callback flow (#5080)
- 1d917ea fix: fix IsAllowed() panic bug
- 13d8e12 fix: fix MCP proxy auth response, upstream token saving and credential leak
- 14ddcec fix: fix OAuth consent redirect for unauthenticated Casdoor sessions
- f698cd4 fix: fix OAuth signin callback bug for method=signin (for lightweight_auth_filter and AuthCallbackHandler.js)
- 47677ca fix: fix RegionSelect cannot save value bug in Addresses table
- e882d00 fix: fix UI bug in CustomScopeTable
- 16f6191 fix: fix add-new logic for provider
- 83f5c04 fix: fix authz permission for well-known OAuth endpoints (#5372)
- 766e9c4 fix: fix broken links for role/plan/user/payment columns (#4999)
- ab8f843 fix: fix bug in responseOtlpError()
- 181d8cb fix: fix bug in webhook event replay
- a034a3c fix: fix bug in writeI18nFile
- 666e756 fix: fix bug that used wrong RootCertificate
- 59229f3 fix: fix bug: /api/get-user returns zeroed fields with application credentials while /api/get-users returns full data
- 7a80b86 fix: fix bug: GetToken error: code=, msg=
- 3703fda fix: fix callback page crash when MFA is enabled
- 7b56155 fix: fix card height in dashboard page (#5431)
- ea5e0d8 fix: fix checking shared-app login permission in user organization (#5381)
- 56fa904 fix: fix code bug in HttpSmsClient
- 61a3586 fix: fix code format
- 4769133 fix: fix code format
- d6632b6 fix: fix dark mode
- 0fc46b8 fix: fix error handling in NewGoogleChatProvider (#5412)
- 16adfb7 fix: fix exitImpersonateUser bug for org admins
- df85762 fix: fix format issue in DuplicateInfo
- 7258d95 fix: fix function names in comment to match actual functions (#5440)
- 5526ea8 fix: fix getOAuthGetParameters bug in Moodle
- 0f31898 fix: fix go format
- 054806a fix: fix go linter issue
- 5026959 fix: fix go.sum
- 90ab721 fix: fix go.sum
- f1ab2f0 fix: fix incorrect
@Paramannotations (#5487) - 14e7cc9 fix: fix issue that dummy payments failed when there were too many items in the order (#5108)
- 5a0e449 fix: fix linter in saml_sp.go
- eca69a8 fix: fix missing menu items in getMenuParentKey
- cac15cd fix: fix parseAndPersistEvents() code in Windows system log provider
- 596513f fix: fix partial columns update in UpdateUser API
- 1a92e93 fix: fix provider_log_system_log's wrong provider field
- 2622857 fix: fix system log provider code
- 7fc6081 fix: fix tableNamePrefix bug in GetDashboard API
- 09d942c fix: fix the failed Docker image release caused by a shallow git clone
- 0a579d9 fix: fix top-left logo missing bug
- bbe69c9 fix: fix top-left menu highlight
- 590d219 fix: fix translation for exclusive signin terms (#5522)
- 0372e4a fix: fix verification code check for SQL Server (#5782)
- 119f3a6 fix: fix white screen when selecting Custom HTTP SMS provider (TypeError: Cannot convert undefined or null to object)
- 4f70d9d fix: fix writePermissionLog() hook position
- ea1a1ce fix: follow the connection's search_path when syncing PostgreSQL tables
- 4b35198 fix: forbid the users a read-only syncer created once they are removed upstream
- 08b0517 fix: give applications added without expireInHours the default token lifetimes
- a97bc02 fix: guard UpdatePolicy against request body with fewer than two policies (#5797)
- b10ea2d fix: handle MFA prompt after WebAuthn sign-in
- 9b6765a fix: handle missing organization and user in remove-user-from-group API
- 7498b39 fix: harden CasWAF gateway and MCP tool sync against file read, token and SSRF abuse
- cce2a58 fix: harden DCR, session rotation, Kerberos realm and XSS sinks
- 25eb9b2 fix: harden MFA, device flow and cross-org group checks
- 1adfc8c fix: harden OAuth auto sign-in, RADIUS TOTP limit and LDAP panic handling
- 0d78d50 fix: harden OAuth, MFA, CAS and signup security checks
- c16873a fix: harden auto sign-in, CAS tickets, SAML signing, form CSS and WebAuthn policy
- a7d52d6 fix: harden client IP resolution, mask provider secrets and block LDAP bind for MFA users
- 3ed7167 fix: harden consent, password reset, master code and CAS checks
- 64a4ec4 fix: harden credential and session checks
- b34bd1e fix: harden face login check and add HasFaceIdImage guard (#5596)
- 181c514 fix: hash the password set via update-user instead of dropping it
- 47da539 fix: hide WeChat login in the WeChat browser when no Official Account is configured
- 3bba604 fix: hide global scrollbar
- 45702d6 fix: hide left sidebar's scrollbar
- 224db05 fix: hide password salt and restrict upload file types
- 4ca9438 fix: hide tag-restricted applications from the /apps page
- 7bc497f fix: honor the application's UI customization on the sign-in and sign-up pages
- 7308cd3 fix: honor the requested audience in RFC 8693 token exchange
- 1693f09 fix: ignore claude config
- a1a9da4 fix: ignore hidden signup items in the signup API
- 4da1ec9 fix: improve "Loading" position
- a3a2b3d fix: improve /add-organization API with account items
- f0189c9 fix: improve /api/oauth/register API
- 88aed28 fix: improve Actions field UI in permission list page
- c8084c7 fix: improve GetMaskedCert() logic
- 8f72e5f fix: improve GetSortedUsers code
- e68a7aa fix: improve IsRedirectUriValid logic
- 0550cd6 fix: improve LDAP handling for "(uid={})" filter
- 0fb6859 fix: improve ProxyServer code
- addc183 fix: improve UI for text links
- 12995d0 fix: improve UpdateUser logic
- ef0eded fix: improve authz via self-matching id and query owner
- c04e163 fix: improve buildAuthFilterString logic
- 1ae1db0 fix: improve buildSpCertificateStore logic
- cc3847d fix: improve category column UI in app list page
- 8419610 fix: improve code for get-idp-discovery API
- c8df079 fix: improve code format
- 31e7319 fix: improve dashboard API error handling
- 767578c fix: improve editor UI
- 56dae13 fix: improve editor width
- fb4c684 fix: improve entry list page UI
- 1e4c869 fix: improve entry list page UI again
- cc20df2 fix: improve getAutoProviderName with subtype
- 67104d2 fix: improve getWebBuildFolder()
- 24f9e90 fix: improve git ignore for for "server_"
- 62cda13 fix: improve graph border
- 46133af fix: improve graph height and tooltip UI
- cba145b fix: improve graph zoom out
- 41f4267 fix: improve hosting badge position and UI
- 81635cc fix: improve i18n data
- 90e0e07 fix: improve i18n keys
- ef2f518 fix: improve list page's table title bar height
- e3a41eb fix: improve login page links UI
- 19855a6 fix: improve menu for LLM AI
- f9d85ec fix: improve organization.IsProfilePublic handling
- 6272a39 fix: improve path code in StaticFilter
- cd868d9 fix: improve path handling in LocalFileSystemProvider
- 4a9f4e0 fix: improve provider table links
- b8abac8 fix: improve question tooltip UI
- e18fd14 fix: improve random handling
- b6f670b fix: improve record and session list page UI
- 0d848be fix: improve system info page UI (like Casibase)
- 5d95444 fix: improve tables UI in my account page
- 265f4b3 fix: improve tabs height UI in app edit page
- d67ada3 fix: improve tag handling in GetOAuthToken
- 19c46e8 fix: improve top-left logo
- 61e16ae fix: improve top-left logo position
- 299a612 fix: improve top-left logo position
- 94fd8ed fix: improve top-left menu text
- 6be8d0f fix: improve update user API
- 17b9cc9 fix: improve update-payment API
- d213813 fix: improve value in GetSession()
- 1d63ecf fix: improve xxx list page table's column row height
- a2c3b75 fix: include countryCode in phone uniqueness validation
- 3390df1 fix: include the application's organization in registration_endpoint of per-application discovery
- 0a5df46 fix: include xs namespace in C14N10 exclusive canonicalization prefix list
- af7c9d2 fix: increase Provider.Scopes column size to varchar(200)
- 314802f fix: increase left sidebar width
- 4557c0e fix: increase org-select's width
- 4f1f186 fix: increase org-select's width
- f05d148 fix: index token by organization and user to speed up forbidding a user
- 3f94784 fix: inherit DCR token lifetimes from the default application
- 6babb94 fix: issue a separate OIDC ID token instead of reusing the access token
- ed7eb98 fix: keep CORS headers for concrete origins in proxy
- 889d558 fix: keep LDAP auto-sync alive after a connection panic
- d1f4b98 fix: keep MFA providers in masked application so users can set up RADIUS MFA
- 528a021 fix: keep all blocked IPs of an IP rate limiting rule and guard its state with a lock
- 73216a0 fix: keep console i18n keys when regenerating locale files
- a2c92db fix: keep empty forceLanguage empty so browser language detection works
- 60c8486 fix: keep even spacing between provider buttons on the login page
- ab60871 fix: keep namespace declarations and write the prefix list into SAML C14N10 signatures
- 8448111 fix: keep openid in oauth token for wechat providers (#5796)
- 1ac95e8 fix: keep provider host, endpoint and type unchanged on demo database
- e14af05 fix: keep refresh tokens working after rename and add option to disable rotation
- 8625f2b fix: keep resolved RADIUS/push provider id through MFA setup enable step
- a77ca24 fix: keep the OAuth signin URL through the forget-password and signup flows
- 4a5dc6a fix: keep the authz filter's object in sync with what controllers act on
- 4c2f2a2 fix: keep the granted scope in the refresh token when a refresh narrows it
- f3d937d fix: keep the login page working for sessions limited by a cross-org token
- e5490ab fix: keep the login page's signin method tabs on one row
- fa0f22a fix: keep the post-setup redirect URL when the auto sign-in also returns RequiredMfa
- 919927b fix: keep the sign-in and signup buttons loading until the browser leaves for the application
- 4729708 fix: keep the syncer job scheduled when its first run fails
- 7aee341 fix: keep the system info page working when process I/O counters are unavailable
- ec80563 fix: keep the user's password out of the JWT claims copy
- 3740c18 fix: let RFC 7592 DCR endpoints bypass AutoSigninFilter
- 74b9191 fix: let forceLanguage override the signed-in user's language
- f030e39 fix: let main.go build on its own with the Windows service code
- 9f206ef fix: let the Lark syncer choose between the Feishu and Lark platforms
- d6d2ee1 fix: let users list their own subscriptions
- 80fb9ec fix: let users sign in with the phone number in the national format they signed up with
- 84475ed fix: limit self-match authz to user objects and bind keys to self
- b507fec fix: list all organizations' rows when "All" is selected
- 97ea13a fix: list the plan role's permissions with the full role ID
- eb119e7 fix: load lazy chunks and fonts from the same CDN as the main bundle
- ecf9cb9 fix: load the Casbin policy once when extending groups with users
- b6b5f9a fix: load the user group policy once when building a permission enforcer (#5953)
- 4190b00 fix: look up the SSH cert of a database syncer in the syncer's organization
- e7e6681 fix: look up the other token type when the token_type_hint of introspection does not match
- 62939ff fix: make account item names selectable in organization edit page
- ab1616e fix: make organization's language value work for signup page
- 0ba1c39 fix: map the "sqlite3" driverName to "sqlite" for the built-in casbin adapter (#5916)
- 17add70 fix: mark JWT-Custom refresh tokens with tokenType refresh-token
- 6d3bd20 fix: mask global cert private keys from org admins
- d3372f9 fix: mask more sensitive fields in GetMaskedApplication()
- 264ad7e fix: mask non-ASCII emails by character instead of by byte (#5951)
- 5ee90f6 fix: mask secrets in audit records and cap request body size
- 5a41794 fix: match LDAP filters, search bases and attribute names case-insensitively and ignore cn= inside memberOf values
- 9040f05 fix: match LDAP substring filters that start with a wildcard (#5968)
- 59bd201 fix: match WeCom userids case-insensitively
- e299b75 fix: migrate the frontend from antd to shadcn/ui in web2
- 0e56f28 fix: move password history out of user table to avoid MySQL row size limit
- 8ea09e7 fix: move the Is verified switch into the ID verification item and save it for admins
- 42d05f3 fix: normalize the email when sending a login verification code
- 6c6a321 fix: omit empty address claim in JWT tokens
- 7d37cc8 fix: only expire the logging-out user's tokens on session logout
- d8ae8ce fix: only stop a previous Casdoor instance listening on the port in StopOldInstance()
- b195b21 fix: parse DingTalk token error code as string instead of int (#5709)
- 43e1990 fix: pass product info through a typed attach struct in payment providers
- 962a1ab fix: pin list table columns only when the table has room for the data beside them
- 943ad7d fix: prefer the rule-matching provider and reject unknown verification methods
- 1d201b6 fix: prefill the sign-in username from the username and login_hint parameters (#5923)
- 87e5edc fix: prefix DingTalk group IDs with organization
- 8c4b824 fix: preserve server-generated fields after add and correct select options
- 4fabc9b fix: prevent a manual syncer run from overlapping the scheduled one
- c684775 fix: prevent lockout timer reset on repeated failed signin attempts
- e3b722d fix: provide default fields for add-xxx APIs
- b65b336 fix: publish all certs in the global JWKS again
- bd12074 fix: put the web config into index.html so pages embedded in another site get it without the cookie
- 8f2548d fix: read SAMLRequest case-insensitively in auth callback
- 403da13 fix: read countryCode from correct form field in MfaSetupEnable
- c686105 fix: recognize client_credentials Bearer tokens as app users
- aa8869d fix: record RADIUS output packets and send Access-Challenge as a fresh response
- 4394d41 fix: record syncer errors instead of panicking at startup
- f1cc625 fix: record the audit logs of M2M operations
- 19b2f6f fix: record the size instead of the content of uploaded files
- fe05bd9 fix: redirect to the RP on logout even when Casdoor has no session (#5857)
- e3ed87d fix: redirect to the app's own host after the forward auth callback (#5918)
- 6dae0cc fix: redirect to the requested page after login
- a5db1b4 fix: redirect to the single OAuth provider only once instead of on every render
- fa93b89 fix: reduce code duplication in Logout logic (#5163)
- 9c288a7 fix: reduce content area margin
- 9645875 fix: reduce top bar height
- a622a5e fix: refactor out application_util.go
- 0b95a39 fix: refactor out log/agent_openclaw.go
- edaf270 fix: refactor out token_oauth_util.go
- 6acecb1 fix: refactor system log provider
- c69eab0 fix: reject add APIs called without a name
- 9810c22 fix: reject add-application when the client ID is already used
- 50977f7 fix: reject duplicate email and phone before sending signup code
- 51055f3 fix: reject empty face descriptors in Face ID login
- 7399083 fix: release camera on unmount and attach video after face dialog mounts
- ed9b39f fix: reload records after add and align add-time validations
- 0893037 fix: remove OpenClaw session heartbeat logs
- eab61dc fix: remove duplicates in i18n keys
- 0a5913e fix: remove duplicates in i18n keys
- 24d177d fix: remove entry's useless fields
- eeb9a73 fix: remove i18n default values
- d3ec27b fix: remove old use keys (#5299)
- e59d0ee fix: remove public JWT key files and detect the public built-in cert by hash
- acc3ee4 fix: remove the duplicated "This field is required" i18n key
- 06194e0 fix: remove the run-casbin-command and refresh-engines APIs
- f6fcb9c fix: remove useless
returnUrlfield from ProductEditPage (#5190) - 8305d02 fix: remove util.SnakeString()
- 34c5556 fix: rename button to "Get Code", update i18n strings
- 7e63226 fix: rename mcp package to mcpself (#5302)
- 89afe04 fix: rename order state PaymentFailed to Failed and improve UI (#5107)
- 84d5dcb fix: rename to log package
- 7816c5a fix: rename to wellknown_oidc_discovery.go
- 7558c34 fix: render form_css field via <style> tag instead of
- 0363661 fix: report SCIM filtering as supported in the service provider config
- 1fa0866 fix: report order state instead of order date in GC payment provider notify error (#5795)
- fcf7450 fix: report the real reason when uploading users fails
- 6273191 fix: report why WeCom department names are missing
- 5a83419 fix: require a global admin to delete sites
- a1cefaf fix: reset signin method rule when its name changes so WebAuthn stays visible
- 4017d07 fix: respect Parameter field and expose templateCode for Custom HTTP SMS provider
- cbc8fc0 fix: respect application's ID signup rule in WeChat Mini Program login (#5168)
- f39cb27 fix: respect the columns whitelist when an admin updates a user
- f0596f2 fix: respect the visible flag of signin items on the login page
- 0ad87fd fix: restore Edit LDAP, organization transactions and MCP Store buttons missing from the new frontend
- b2de97b fix: restore login by verification code
- 48841d8 fix: restore web-old behavior in the console's editable sub-tables
- 05f9cb5 fix: restrict ID verification and intranet scan providers to their own organization
- 076068d fix: restrict Swagger static path to
devrunmode (#5462) - 951f6e2 fix: restrict add-token to org admins and same-org applications
- 6200296 fix: restrict email, SMS and notification providers to the caller's organization
- c769f92 fix: restrict order and payment APIs to authenticated owners
- 811c8b9 fix: restrict resource storage providers and file paths to the caller's organization and user
- bbe84db fix: restrict uploaded groups, roles and permissions to the admin's organization
- e8e3eb9 fix: retry helm chart push on non-fast-forward
- 490720e fix: return 401 with WWW-Authenticate for MCP proxy requests
- ec41380 fix: return RFC 8628 error codes and HTTP statuses from the device authorization endpoint
- b9ab40e fix: return after writing an error response
- 3963570 fix: return an error instead of panicking on malformed obfuscated password ciphertext
- bd9312c fix: return an error when an organization admin's custom HTML or CSS is refused
- 55a439e fix: return database errors instead of swallowing them in object layer
- 260976a fix: return error HTTP status codes from the JWKS and WebFinger endpoints
- 1d90c3b fix: return error when loading enforcer model config fails
- b852a0a fix: return hashed session IDs instead of raw session cookies
- 7852d6e fix: return the discovery issuer as iss in every authorization response
- ba3629f fix: return the total user count as totalResults in SCIM user lists (#5983)
- fa3a8e3 fix: revoke OAuth tokens when their login session is deleted
- e0b69cf fix: revoke old OAuth tokens on exclusive signin
- dd466b8 fix: revoke sessions and tokens when a user is forbidden
- dc906f0 fix: revoke tokens on password change and expiry
- 95e6be7 fix: rewrite README and add golangci-lint workflow
- 232ef71 fix: run LDAP auto-sync on only one node
- 5e7746e fix: save the picked country code with the phone on the prompt page
- fa2148e fix: scope application credentials to their own organization
- 328b0bc fix: scope authz self-match, SCIM, DCR and commerce APIs to their owners
- 22af3de fix: scope get-resources to the caller and restrict direct listing to admins
- 8fe4d31 fix: scope rename triggers to their own organization
- 9c7e83e fix: scope the verification code resend throttle to the requesting user
- abbee74 fix: scope user rename to the user's own organization
- bfe7680 fix: select the WeChat tab by default when it is the first sign-in method
- eab298f fix: send Vary: Origin from the CORS filter
- ccce801 fix: send a single session cookie when signing in without an existing session
- 6ce87b1 fix: send back-channel logout before expiring tokens
- 042d07f fix: send standard implicit and hybrid responses from the lightweight callback page
- 6e1326a fix: send the destination as username when verifying the forget-password code
- 87622d7 fix: send the prompt page's and third-party sign-in's OAuth responses the way the request asks for
- 346d660 fix: send the recipients in JSON bodies of Custom HTTP Email and honor its proxy setting
- 5e7304d fix: send the sign-in SMS code to a phone number typed in the national format
- ca3b983 fix: send the user to the consent page after social login
- 491ae52 fix: serve index.html with Cache-Control no-cache and reload once when a lazy chunk fails to load
- 4e2f98c fix: serve uploaded files with sandbox, nosniff and attachment headers (#5668)
- da782e1 fix: set GENERATE_SOURCEMAP=false in web build
- 6ab1b3e fix: set OriginalGroup.ParentId in DingTalk syncer so departments keep their hierarchy (#5911)
- b7c6081 fix: set Sidebar menu: selected item - darker background
- 375ee87 fix: set busy_timeout and WAL in the default SQLite data source
- 5038340 fix: set empty providerUrl in new provider
- 81aa089 fix: set organization.balanceCredit's max to 0
- c23768d fix: show OpenClaw transcript sync error only once
- 44601ca fix: show WebAuthn credential ID in base64url
- de85a2f fix: show a notice on the login page when the application has no sign-in method
- e6583fe fix: show all country codes when the organization's countryCodes is null
- 4ac52cb fix: show country names in the phone country code select and localize them
- a87ea3b fix: show group names and member users on the group tree page
- fb7350e fix: show linked account names in 3rd-party logins when Properties is hidden from the user
- 7390d64 fix: show organization display name in provider's org select
- 7bd5a4e fix: show the WeChat open platform QR code in the WeChat tab when no official account is configured
- 527da17 fix: show the default application's footer HTML in the console
- 506b363 fix: show the organization name in the missing application error
- fe486af fix: show the organization theme while sign-in pages load
- 23c1da3 fix: show the password mismatch hint on the password recovery page
- 70d1f12 fix: show the sign-in page instead of an error when auto sign-in can't issue a code
- 690ae21 fix: sign back-channel logout tokens with the application's signing method (#5915)
- 5e25599 fix: signinMethods "Hide password" rule not enforced server-side (#5762)
- d8883ca fix: skip CORS headers when request has no Origin
- 6aad239 fix: skip MFA after WebAuthn sign-in that verified the user
- a777c86 fix: skip existing groups, roles and permissions by row owner in uploads
- 4b8ae3a fix: skip invalid certs instead of failing the whole JWKS
- 9853e07 fix: skip password columns in syncer when remote has no password data (#5183)
- 9429974 fix: skip publishing casdoor-web when the version already exists
- 381715b fix: skip the SMTP host check for Resend and Custom HTTP Email providers
- 79db719 fix: skip the paid-user subscription check for admins on login
- e4166dd fix: skip the version info step of the Docker build when there is no .git
- 8248773 fix: smooth the startup loading spinner
- 488479c fix: specify department_id_type for Lark syncer department APIs (#5500)
- fadaf3b fix: stop ADFS from disabling TLS checks process-wide and route Casdoor IdP token requests through the guarded client
- 635f73f fix: stop RADIUS server from sending Access-Accept after Access-Challenge
- d9cf051 fix: stop creating a session file for every cookieless request
- 33b4ea5 fix: stop get-cert API from returning the admin cert of the same name
- dd046bd fix: stop linked SVG logos from collapsing to 0px on auth pages (#5941)
- e2790dd fix: stop masking the password obfuscator key so non-admin users can update passwords
- fb7b37e fix: stop square logos from shrinking to 40px on auth pages
- bd2fbe1 fix: stop the MFA setup wizard from asking for an SMS code after the required factor is enabled
- 3a3e5d3 fix: stop the whole console from re-rendering when switching sidebar tabs
- 21b2587 fix: store the SAML NameID template as mediumtext to fit the MySQL row size limit
- a73c722 fix: store the backend MFA type in the organization's MFA items
- 5a8bb85 fix: store the privacy policy link as mediumtext to fit the MySQL row size limit
- 862d65b fix: strip MFA fields from JWT claims
- 16bb982 fix: support JSON import & export in application edit page
- 522c3e0 fix: support peppered Argon2id password hashes
- 4eadae7 fix: sync all i18n strings
- 61cb846 fix: sync frontend i18n strings
- 8eacdea fix: tighten signup, provider masking and audit log sanitization
- 30f35af fix: treat client ID metadata document clients as dynamic clients and record their requests in their organization
- 1322413 fix: treat demo database as demo mode for provider APIs
- e4db818 fix: update README slogan
- 6d42e52 fix: update UpdateUser() columns for missing User fields
- 781f9a0 fix: update permission rules when renaming a permission
- 3f58ec5 fix: upgrade cypress-io/github-action to v7
- 595f532 fix: upgrade dependencies and refine CORS and redirect URI matching
- fcdb9ed fix: use Apple Inter font
- 85c8347 fix: use RegionSelect for the Country/Region account item in the new web UI (#5881)
- 94e1286 fix: use SELinux collector for SELinux log providers (#5361)
- 7aebacc fix: use editor in code
- 769f638 fix: use outlined icons in top navbar
- f62ddc6 fix: use request language instead of hard-coded "en"
- d8054f2 fix: use shadcn theme by default
- 9f38b5d fix: use the application's signup URL on the OAuth login page too
- ee1b3c5 fix: use the same captcha provider in the backend as the login page
- 29897dd fix: validate implicit, SAML and CAS redirect targets and harden account linking
- 0d48b5b fix: validate order plans and payment providers and block tenant SSRF
- 0a9614c fix: validate organization default application and application admin check
- 6ea4a2f fix: validate syncer table names and block syncing Casdoor's own DB
- aaaf533 fix: validate the DPoP proof of refresh_token requests against the refresh_token endpoint
- 5fcccdd fix: verify SSH host keys and sanitize custom HTML of non-built-in apps
- 000081c fix: verify email and phone with a code on the prompt page
Performance improvements
- 0573689 perf: only write the changed Casbin policies when updating permissions
Refactors
- 77aed32 refactor: remove Web3 (MetaMask and Web3-Onboard) providers
- 83cf577 refactor: split ApplicationEditPage into one component per tab
Build & CI
- 0552c55 ci: release from a manually pushed tag instead of semantic-release
- 7fc0cbb ci: retry go mod vendor on proxy HTTP/2 resets
Others
- 4c037a0 chore(helm): move casdoor-helm chart into this repo and inject its version at release time
- 80a98c6 chore: align web2 list columns, enum labels and read-only view mode with web
- 92245f0 chore: brand the web2 tab title, favicon, sidebar and footer from the organization
- d57d81a chore: collect the MFA second factor on the provider callback in web2
- 2e78783 chore: correct broken i18n keys in web2
- d13ac6b chore: handle the lightweight callback handover and provider_hint in web2
- 86e2b74 chore: pin the name and action columns while web2 tables scroll sideways
- e787b56 chore: port Face ID login, product tour and GitHub corner to web2
- 1c4f4f1 chore: port WebAuthn, MetaMask, WeChat QR and device login to web2
- 05360ba chore: port accountItems policy and remaining feature gaps to web2
- 6d45115 chore: port avatar cropper, ID verification, third-party links and consents to web2
- dfc3795 chore: port entry viewers and MFA prompt notification to web2
- 128a2fb chore: port organization branding, nav filtering and xlsx import to web2
- e458dfa chore: port policy table, casbin editor and rule expressions to web2
- 275e85e chore: port remaining syncer, cert, scan and theme features to web2
- 1b65962 chore: port the full provider edit page, forms and MCP store to web2
- 2c5ee7e chore: port the list page filters, 403 pages and record detail to web2
- f5f7aca chore: port the remaining edit page sub-tables and small surfaces to web2
- 5ae3755 chore: port the remaining per-page actions and validations to web2
- e50875e chore: port the signup validation rules and login page panels to web2
- 0a6aa8d chore: port the storefront and checkout flow to web2
- e4dbce7 chore: restore the missing links, badges and previews in web2
- b2c821b chore: rework the web2 theme, list tables and edit page forms
- 8755894 chore: stop .gitignore from swallowing web2/src/components/server
- 169cddb chore: swap the default Casdoor logo for its dark twin in dark mode
- 186244a feat(idp/telegram): generate stable username fallback for accounts without public username (#5600)
AI summary Added record retention, branded sign-in pages, and custom TableColumns mapping
Changelog
Features
- 5bf0641 feat: add default record retention days to global settings
- 266a0c0 feat: brand the description, og tags and manifest of sign-in pages
- a866fe9 feat: support custom TableColumns mapping in Lark syncer (e.g. enterprise_email) (#5961)
- 20245fb feat: support private_key_jwt client authentication for DCR and CIMD clients
- d98b5f7 feat: support running as a Windows service
Bug fixes
- dd0cc5d fix(manifests): add missing target.type to HPA memory metric (#5956)
- 07e9192 fix: answer 401 with a Bearer or DPoP challenge from /api/userinfo for a missing or invalid access token
- 93282a1 fix: apply table columns and paging in Active Directory syncer
- 0f71ac6 fix: keep the granted scope in the refresh token when a refresh narrows it
- 8f3a501 fix: let main.go build on its own with the Windows service code
- d3c9c3b fix: load the user group policy once when building a permission enforcer (#5953)
- 942aba3 fix: mask non-ASCII emails by character instead of by byte (#5951)
- f0eea6d fix: only stop a previous Casdoor instance listening on the port in StopOldInstance()
- c3acd74 fix: pin list table columns only when the table has room for the data beside them
- 9474a6f fix: record the size instead of the content of uploaded files
- 171f4db fix: show all country codes when the organization's countryCodes is null
- 69cc689 fix: show the organization theme while sign-in pages load
- ce360b0 fix: update permission rules when renaming a permission
- 0c3c15c fix: upgrade cypress-io/github-action to v7
AI summary Adds health checks, logo customization, and token revocation
Changelog
Features
- 6121c73 feat(helm): probe /api/health with a startup probe and configurable timings
- f74551c feat: add Logo signup item to hide the logo on the signup page
- 3ad7552 feat: add RFC 7009 token revocation endpoint
- 79c361b feat: add SAML NameID template to applications
- 2157444 feat: add account items for Deleted time, Last signin time and Last signin IP on the user page
- 0628c3a feat: add bug report and feature request issue forms
- e9c671e feat: add client ID metadata document clients to the organization passed in the authorize request
- d55a59c feat: add expire time presets and expired state to invitation pages
- eb6ee49 feat: add global settings page with database connection pool settings
- a09906d feat: add mobile one-click grant for native app sign-in with Alibaba Cloud PNVS
- 0d9f132 feat: add sign-in success and failure counter to Prometheus metrics
- 953099a feat: add webAuthnRpId and webAuthnRpOrigins config for passkeys on sibling subdomains
- e7b36a5 feat: also tag Docker images as vX.Y.Z, X.Y and X
- b511e17 feat: grant the plan's role to subscribers while their subscription is active
- f86f4b2 feat: let users grant only some of the requested scopes on the consent page
- 0abbe10 feat: move the translations from Crowdin to Caslingo
- d53cbdd feat: only offer the MFA methods in MFA items on the account page and MFA setup
- 5a330e6 feat: renew subscriptions automatically with balance and Stripe
- 6ffa45a feat: return JWT-Custom token attributes in the userinfo response
- 1b91d9d feat: show the latest release on the system info page and upgrade official release binaries in one click
- 673a2fc feat: support $user.displayName in SAML attribute values
- 122bc57 feat: support the WeChat Pay public key mode and merchant certificates in PEM
- b6c8245 feat: title the prompt page by what it asks for
Bug fixes
- dd5eb07 fix: URL-encode state, nonce and other OAuth parameters in sign-in API requests (#5928)
- 6aafbf2 fix: allow X-Requested-With header in CORS preflight responses
- 20ef729 fix: forbid the users a read-only syncer created once they are removed upstream
- bd4a23f fix: give applications added without expireInHours the default token lifetimes
- f294701 fix: keep namespace declarations and write the prefix list into SAML C14N10 signatures
- ed71b35 fix: let users list their own subscriptions
- a3aceb1 fix: list the plan role's permissions with the full role ID
- d12d5d5 fix: prefill the sign-in username from the username and login_hint parameters (#5923)
- e386b8d fix: record RADIUS output packets and send Access-Challenge as a fresh response
- 93b01d2 fix: redirect to the app's own host after the forward auth callback (#5918)
- a1bc249 fix: reject add APIs called without a name
- 89e7cab fix: reject add-application when the client ID is already used
- eec4813 fix: return error HTTP status codes from the JWKS and WebFinger endpoints
- 15012f6 fix: return the discovery issuer as iss in every authorization response
- 731435a fix: send a single session cookie when signing in without an existing session
- 145025b fix: send standard implicit and hybrid responses from the lightweight callback page
- bd5d966 fix: send the prompt page's and third-party sign-in's OAuth responses the way the request asks for
- b8141a7 fix: send the sign-in SMS code to a phone number typed in the national format
- 45a9069 fix: serve index.html with Cache-Control no-cache and reload once when a lazy chunk fails to load
- e701c93 fix: set OriginalGroup.ParentId in DingTalk syncer so departments keep their hierarchy (#5911)
- 66e22b8 fix: set busy_timeout and WAL in the default SQLite data source
- 949e8cc fix: show a notice on the login page when the application has no sign-in method
- b451ad3 fix: skip the version info step of the Docker build when there is no .git
- 208f1bb fix: stop get-cert API from returning the admin cert of the same name
- 6ec75d3 fix: store the SAML NameID template as mediumtext to fit the MySQL row size limit
AI summary OIDC user ID mapping now defaults to sub
Changelog
Features
- 6d4325d feat: accept client ID metadata document URLs as client_id for MCP clients
Bug fixes
- 6bb563d fix: default the OIDC user ID mapping to sub and fall back to sub when the mapped claim is missing
- c5029ae fix: expire tokens and clear the forced password change when update-user changes the password
- 35bbf3b fix: keep the post-setup redirect URL when the auto sign-in also returns RequiredMfa
- ae7556e fix: let users sign in with the phone number in the national format they signed up with
- 0a10483 fix: look up the SSH cert of a database syncer in the syncer's organization
- 9a7d72f fix: match LDAP filters, search bases and attribute names case-insensitively and ignore cn= inside memberOf values
- bc0f8c8 fix: require a global admin to delete sites
- 671285b fix: send the recipients in JSON bodies of Custom HTTP Email and honor its proxy setting
- f11d6ac fix: skip MFA after WebAuthn sign-in that verified the user
- 0ca1de1 fix: stop linked SVG logos from collapsing to 0px on auth pages (#5941)
- d43fece fix: treat client ID metadata document clients as dynamic clients and record their requests in their organization
- 9c910b4 fix: validate the DPoP proof of refresh_token requests against the refresh_token endpoint
@ Every self-hosted release, weekly
One Monday email with the week's stable releases across the directory.
More in Authentication
clinSelf CLI provisions a production-ready backend — PostgreSQL, Hasura GraphQL, Auth, Nginx — on your own server in minutes via Docker. MIT licensed with 171 plugins.
cosmos-server☁️ The Most Secure and Easy Selfhosted Home Server. Take control of your data and privacy without sacrificing security and stability (Authentication, anti-DDOS, anti-bot)
DaptinAn open-source, self-hosted application server: model your data once and Daptin serves JSON:API and GraphQL endpoints, users, permissions, files, jobs and realtime.
dashgateSelf-hosted, open-source app gateway for web services with multi-method auth, group access control, and auto-discovery from Docker, Traefik, Nginx, and more.
defguardSelf-hosted WireGuard VPN platform bundling an identity provider, per-connection MFA, LDAP/AD sync and firewall ACLs; open-source AGPL core written in Rust.
DexOpen-source, self-hosted OIDC and OAuth 2.0 identity service that fronts LDAP, SAML, GitHub, Google and other IdPs, so every app just speaks OpenID Connect.
directory-serverApache Directory Server is a self-hosted, open-source LDAPv3 directory server in Java with Kerberos, multi-master replication, and password policies.
docker-sso-serverLightweight self-hosted SSO server with OAuth2 and OTP, runs in a tiny container (<1% CPU, ~15 MiB RAM) and works as Traefik Forward Auth backend.
dockserverDockServer is a self-hosted, open-source Docker management system that automates Traefik, Authelia, and 100+ apps via a menu-driven CLI on Ubuntu with Cloudflare.
email-oauth2-proxySelf-hosted open-source proxy adding OAuth 2.0 to legacy email clients for Exchange, Gmail, and more.
FCaptchaSelf-hosted, open-source CAPTCHA detecting AI agents and bots with behavioral analysis and proof-of-work. Drop-in replacement for Turnstile, reCAPTCHA, hCaptcha.
fn-knockSelf-hosted gateway that combines reverse proxy, authentication, WAF, SSL certificates, DDNS, and tunneling for home servers and NAS devices.




0 comments