There was an error while loading. Please reload this page.
1 parent 4af8d42 commit f4409fbCopy full SHA for f4409fb
1 file changed
apps/sim/app/api/auth/[...all]/route.ts
@@ -38,6 +38,12 @@ function isBlockedOrganizationMutationPath(path: string): boolean {
38
* into their account. `sso/delete-provider` likewise lets an owner drop a login
39
* path outside the application's flow.
40
*
41
+ * `trustEmailVerified: false` independently defuses that claim, so these two
42
+ * guards are layered, not redundant: this one keeps provider configuration
43
+ * owned by the register route (which alone proves domain ownership) and is what
44
+ * stops the mapping rewrite from becoming live again if that option is ever
45
+ * reconsidered.
46
+ *
47
* Deny-by-default rather than a blocklist so a future plugin version cannot
48
* introduce another unshadowed provider mutation.
49
*/
0 commit comments