-
Notifications
You must be signed in to change notification settings - Fork 50
update: authentication in a popup (Partial update) #775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -6,10 +6,11 @@ sidebar: | |
| relatedArticles: | ||
| - c53c9254-7bbb-4d58-b949-3ccdc3cd3dee | ||
| - 162a0888-6b7f-439e-9ba2-7b2c491fc95b | ||
| description: Comprehensive overview of Kinde's security practices including XSS protection, CSRF prevention, bot detection, password standards, and TLS enforcement. | ||
| description: "See how Kinde protects auth with XSS and CSRF defenses, bot detection, clickjacking prevention, password hashing, TLS, and WAF" | ||
| topics: | ||
| - get-started | ||
| - learn-about-kinde | ||
| - security | ||
| sdk: [] | ||
| languages: [] | ||
| audience: | ||
|
|
@@ -18,20 +19,18 @@ audience: | |
| - business owners | ||
| complexity: intermediate | ||
| keywords: | ||
| - security | ||
| - xss protection | ||
| - csrf protection | ||
| - product security | ||
| - clickjacking | ||
| - CSRF | ||
| - XSS | ||
| - bot detection | ||
| - credential stuffing | ||
| - clickjacking | ||
| - password security | ||
| - tls | ||
| - waf | ||
| - rate limiting | ||
| updated: 2024-01-15 | ||
| - password hashing | ||
| - WAF | ||
| updated: 2026-07-30 | ||
| featured: false | ||
| deprecated: false | ||
| ai_summary: Comprehensive overview of Kinde's security practices including XSS protection, CSRF prevention, bot detection, password standards, and TLS enforcement. | ||
| ai_summary: "Overview of Kinde product security practices for authentication and platform protection. Explains callback URL origin checks to help prevent XSS, bot detection including CAPTCHA and traffic analysis, credential stuffing defenses via WAF and account lockout, CSRF protections using the state parameter, and clickjacking prevention on hosted auth pages with CSP and framing headers. Notes that React and JavaScript SDKs open auth in a popup when the customer app is iframed so those protections stay intact. Also covers enforced password standards, bcrypt password hashing, rate limits and throttling for denial-of-service mitigation, device fingerprinting against session hijacking, TLS version and cipher requirements, XSS and CSP controls for third-party scripts, and WAF blocking of malicious traffic. Intended for developers, admins, and business owners evaluating Kinde security." | ||
| --- | ||
|
|
||
| Here’s some of the practices, standards, and methods we use to keep your data, and user’s data secure. | ||
|
|
@@ -58,10 +57,12 @@ Kinde protects against [CSRF](https://cheatsheetseries.owasp.org/cheatsheets/Cro | |
|
|
||
| ## Hosted auth pages prevent clickjacking | ||
|
|
||
| To prevent [clickjacking](https://cheatsheetseries.owasp.org/cheatsheets/Clickjacking_Defense_Cheat_Sheet.html) attacks where a user’s personal information or credentials may be stolen by hidden iFrames, use Kinde’s hosted pages for authentication. Hosted pages have protections in place such as such as strict CSP and security headers to prevent itself from being embedded as an iFrame. | ||
| To prevent [clickjacking](https://cheatsheetseries.owasp.org/cheatsheets/Clickjacking_Defense_Cheat_Sheet.html) attacks, where a user's personal information or credentials may be stolen by hidden iFrames, use Kinde's hosted pages for authentication. Hosted pages have protections in place such as strict CSP and security headers to prevent them from being embedded as an iFrame. | ||
|
|
||
| Kinde controls and hosts the authentication pages, so the risk for protecting pages is assumed by Kinde rather than you. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🔒 Security & Privacy | 🟡 Minor | ⚡ Quick win Clarify the shared security responsibility. “Kinde rather than you” can imply that customers need not protect their own application pages. Limit this to Kinde maintaining controls for its hosted auth pages, while customers remain responsible for their application security. 🤖 Prompt for AI Agents |
||
|
|
||
| If your own application runs inside an iframe, our [React](/developer-tools/sdks/frontend/react-sdk/#authentication-in-a-popup-window) and [JavaScript](/developer-tools/sdks/frontend/javascript-sdk/#authentication-in-a-popup-window) SDKs open authentication in a popup window so the user authenticates in a top-level browser window. This keeps these protections intact. | ||
|
|
||
| ## Enforced password standards | ||
|
|
||
| Kinde provides a baseline password protection policy for any customer who wants to include password authentication in their product. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Include
logout()wherever popup user-gesture guidance is given. Both SDK pages document popup-based iframe logout, so logout must also be invoked directly from a user gesture.src/content/docs/developer-tools/sdks/frontend/javascript-sdk.mdx#L242-L242: Change the guidance to includelogout().src/content/docs/developer-tools/sdks/frontend/react-sdk.mdx#L299-L299: Change the guidance to includelogout().📍 Affects 2 files
src/content/docs/developer-tools/sdks/frontend/javascript-sdk.mdx#L242-L242(this comment)src/content/docs/developer-tools/sdks/frontend/react-sdk.mdx#L299-L299🤖 Prompt for AI Agents