Skip to content

Commit a9f774f

Browse files
rajat1saxenaRajatgithub-advanced-security[bot]
authored
Single Sign-On (#699)
* feat: implement Single Sign-On (SSO) functionality, enhance login provider management, and introduce a new features system. * feat: reduced SSO providers to one, fixed SSO UI, stricter SSO SAML settings * changing sso provider's name now updates better-auth's account schema * fix types * type fixes * feat: hardcoding sso providerId * fixed incorrect method call * fixed idp initiated sso login; sso docs updated * fixed type * Added tests * Potential fix for code scanning alert no. 698: Unused variable, import, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 696: Unused variable, import, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 695: Unused variable, import, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 697: Unused variable, import, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 694: Unused variable, import, function or class Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Potential fix for code scanning alert no. 699: Useless conditional Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * refactor: remove unused `TOAST_TITLE_SUCCESS` import and adjust whitespace in SSO-related code. * Removed id field * added FAQ --------- Co-authored-by: Rajat <[email protected]> Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent f372df1 commit a9f774f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2685
-507
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- In `apps/web` workspace, create a string first in `apps/web/config/strings.ts` and then import it in the `.tsx` files, instead of using inline strings.
99
- When working with forms, always use refs to keep the current state of the form's data and use it to enable/disable the form submit button.
1010
- Check the name field inside each package's package.json to confirm the right name—skip the top-level one.
11+
- While working with forms, always use zod and react-hook-form to validate the form. Take reference implementation from `apps/web/components/admin/settings/sso/new.tsx`.
1112

1213
## Testing instructions
1314

248 KB
Loading
197 KB
Loading
229 KB
Loading
199 KB
Loading
172 KB
Loading
283 KB
Loading
215 KB
Loading
144 KB
Loading
128 KB
Loading

0 commit comments

Comments
 (0)