PageSourceSearch

https://images-cdn.curipod.com/d-02611290/_next/static/chunks/pages/auth/error-showcase-0fecfb11a4110846.js

js curipod.com collected 2026-10-01 12:17:39 UTC 14,830 bytes, 2 lines download raw bytes

1(function(){try{var g=typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};g["__faroBundleId_curipod"]="d-02611290"}catch(l){}})();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7206],{66382:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/auth/error-showcase",function(){return t(48034)}])},48034:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return dn}});var o=t(32692),r=t(85893),i=t(9008),a=t.n(i),c=t(70643),l=t(52901),s=t(66493),d=t(7774);function u(){var n=(0,o.Z)(["\n  min-height: 100vh;\n  background: ",";\n  font-family: inherit;\n"]);return u=function(){return n},n}function f(){var n=(0,o.Z)(["\n  position: sticky;\n  top: 0;\n  z-index: 100;\n  background: ",";\n  padding: 16px 32px;\n  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);\n\n  @media (max-width: 992px) {\n    padding: 12px 16px;\n  }\n"]);return f=function(){return n},n}function h(){var n=(0,o.Z)(["\n  display: flex;\n  align-items: center;\n  gap: 12px;\n  flex-wrap: wrap;\n"]);return h=function(){return n},n}function g(){var n=(0,o.Z)(["\n  margin: 0;\n  font-size: 20px;\n  font-weight: 700;\n  color: #fff;\n"]);return g=function(){return n},n}function p(){var n=(0,o.Z)(["\n  background: rgba(255, 255, 255, 0.2);\n  border: 1px solid rgba(255, 255, 255, 0.4);\n  border-radius: 20px;\n  padding: 2px 10px;\n  font-size: 12px;\n  color: #fff;\n\n  code {\n    font-family: monospace;\n  }\n"]);return p=function(){return n},n}function y(){var n=(0,o.Z)(["\n  margin: 4px 0 0;\n  font-size: 13px;\n  color: rgba(255, 255, 255, 0.85);\n"]);return y=function(){return n},n}function x(){var n=(0,o.Z)(["\n  max-width: 1280px;\n  margin: 0 auto;\n  padding: 32px;\n\n  @media (max-width: 992px) {\n    padding: 16px;\n  }\n"]);return x=function(){return n},n}function m(){var n=(0,o.Z)(["\n  position: relative;\n  padding: 32px 0;\n  border-bottom: 1px solid ",";\n\n  &:last-child {\n    border-bottom: none;\n  }\n"]);return m=function(){return n},n}function w(){var n=(0,o.Z)(["\n  position: absolute;\n  top: 32px;\n  left: -4px;\n  font-size: 11px;\n  font-weight: 700;\n  color: ",";\n  letter-spacing: 0.05em;\n  text-transform: uppercase;\n"]);return w=function(){return n},n}function b(){var n=(0,o.Z)(["\n  display: grid;\n  grid-template-columns: 1fr 1fr;\n  gap: 32px;\n  padding-left: 24px;\n\n  @media (max-width: 992px) {\n    grid-template-columns: 1fr;\n    gap: 16px;\n    padding-left: 0;\n  }\n"]);return b=function(){return n},n}function v(){var n=(0,o.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 16px;\n"]);return v=function(){return n},n}function k(){var n=(0,o.Z)(["\n  display: inline-flex;\n  align-self: flex-start;\n  background: ",";\n  color: #fff;\n  font-size: 13px;\n  font-weight: 700;\n  font-family: monospace;\n  padding: 4px 12px;\n  border-radius: 5px;\n"]);return k=function(){return n},n}function C(){var n=(0,o.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n"]);return C=function(){return n},n}function Z(){var n=(0,o.Z)(["\n  font-size: 11px;\n  font-weight: 700;\n  letter-spacing: 0.08em;\n  text-transform: uppercase;\n  color: ",";\n"]);return Z=function(){return n},n}function D(){var n=(0,o.Z)(["\n  margin: 0;\n  font-size: 14px;\n  line-height: 1.55;\n  color: #444;\n"]);return D=function(){return n},n}function K(){var n=(0,o.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 10px;\n  align-items: flex-start;\n\n  h3 {\n    margin: 0;\n    font-size: 18px;\n    font-weight: 800;\n    color: ",";\n  }\n  p {\n    margin: 0;\n    font-size: 14px;\n    line-height: 1.55;\n    color: #444;\n  }\n"]);return K=function(){return n},n}function P(){var n=(0,o.Z)(["\n  display: inline-flex;\n  align-self: flex-start;\n  background: #fff;\n  border: 1px solid #d9cfc4;\n  border-radius: 5px;\n  padding: 3px 10px;\n  font-size: 13px;\n  font-weight: 600;\n  color: #333;\n"]);return P=function(){return n},n}function S(){var n=(0,o.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 8px;\n"]);return S=function(){return n},n}function A(){var n=(0,o.Z)(["\n  font-size: 11px;\n  font-weight: 700;\n  letter-spacing: 0.08em;\n  text-transform: uppercase;\n  color: ",";\n"]);return A=function(){return n},n}function j(){var n=(0,o.Z)(["\n  background: #fff;\n  border-radius: 10px;\n  border: 1px solid #e0d8cf;
1\n  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);\n  padding: 32px 24px;\n  min-height: 180px;\n  display: flex;\n  align-items: flex-start;\n"]);return j=function(){return n},n}function E(){var n=(0,o.Z)(["\n  min-height: 100vh;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  background: ",";\n  gap: 12px;\n"]);return E=function(){return n},n}function T(){var n=(0,o.Z)(["\n  font-size: 72px;\n  font-weight: 800;\n  margin: 0;\n  color: ",";\n"]);return T=function(){return n},n}function I(){var n=(0,o.Z)(["\n  font-size: 16px;\n  color: #555;\n  margin: 0;\n\n  code {\n    background: #f0ebe4;\n    border-radius: 4px;\n    padding: 2px 6px;\n    font-family: monospace;\n    font-size: 14px;\n  }\n"]);return I=function(){return n},n}var O,_,N,L,z={accountAlreadyExists:"Sign up with an email that already has an account (NextAuth OAuthAccountNotLinked).",doesNotMatchRules:"Email domain isn't in the tenant's allowed list.",noAccountFound:"Log in but no Curipod account exists.",geolocationFirewall:"A school/workplace firewall blocks the login endpoint.",classlinkSSOError:"ClassLink provisioning/SSO fails (new-auth self-join/exchange).",feideSSOError:"Feide provisioning/SSO fails (new-auth self-join/exchange).",cleverSSOError:"Clever provisioning/SSO fails (new-auth self-join/exchange).",googleSSOError:"Google provisioning/SSO fails (new-auth self-join/exchange).",invalidResponseReceived:"Upstream returns a malformed/unexpected response.",oauthCallbackError:"NextAuth OAuth handshake fails (OAuthCallback/OAuthSignin/Callback/Configuration).",accessDenied:"User/provider denies consent (NextAuth AccessDenied).",sessionExpired:"Token refresh fails / Feide 8h rule (RefreshAccessTokenError, SessionRequired).",magicLinkInvalid:"Wrong/expired/consumed magic-link code (backend 401 invalid_code).",rateLimited:"Too many magic-link requests or verify attempts (429).",emailSendFailed:"Magic-link code failed to send.",unknown:"Any unrecognised error code. Logged to GCP + Grafana."},B=Object.keys(d.N),R=c.ZP.div.withConfig({componentId:"sc-fde84802-0"})(u(),l.ZP.colors.background),F=c.ZP.header.withConfig({componentId:"sc-fde84802-1"})(f(),l.ZP.colors.orange),W=c.ZP.div.withConfig({componentId:"sc-fde84802-2"})(h()),H=c.ZP.h1.withConfig({componentId:"sc-fde84802-3"})(g()),G=c.ZP.span.withConfig({componentId:"sc-fde84802-4"})(p()),Y=c.ZP.p.withConfig({componentId:"sc-fde84802-5"})(y()),q=c.ZP.main.withConfig({componentId:"sc-fde84802-6"})(x()),U=c.ZP.section.withConfig({componentId:"sc-fde84802-7"})(m(),null!==(O=l.ZP.colors.paleBeige)&&void 0!==O?O:"#e8e0d5"),M=c.ZP.span.withConfig({componentId:"sc-fde84802-8"})(w(),null!==(_=l.ZP.colors.orangeDark)&&void 0!==_?_:l.ZP.colors.orange),X=c.ZP.div.withConfig({componentId:"sc-fde84802-9"})(b()),V=c.ZP.div.withConfig({componentId:"sc-fde84802-10"})(v()),J=c.ZP.div.withConfig({componentId:"sc-fde84802-11"})(k(),l.ZP.colors.orange),Q=c.ZP.div.withConfig({componentId:"sc-fde84802-12"})(C()),$=c.ZP.span.withConfig({componentId:"sc-fde84802-13"})(Z(),null!==(N=l.ZP.colors.orangeDark)&&void 0!==N?N:l.ZP.colors.orange),nn=c.ZP.p.withConfig({componentId:"sc-fde84802-14"})(D()),en=c.ZP.div.withConfig({componentId:"sc-fde84802-15"})(K(),l.ZP.colors.black),tn=c.ZP.span.withConfig({componentId:"sc-fde84802-16"})(P()),on=c.ZP.div.withConfig({componentId:"sc-fde84802-17"})(S()),rn=c.ZP.span.withConfig({componentId:"sc-fde84802-18"})(A(),null!==(L=l.ZP.colors.orangeDark)&&void 0!==L?L:l.ZP.colors.orange),an=c.ZP.div.withConfig({componentId:"sc-fde84802-19"})(j()),cn=c.ZP.div.withConfig({componentId:"sc-fde84802-20"})(E(),l.ZP.colors.background),ln=c.ZP.h1.withConfig({componentId:"sc-fde84802-21"})(T(),l.ZP.colors.orange),sn=c.ZP.p.withConfig({componentId:"sc-fde84802-22"})(I()),dn=!0;e.default=function(){return(0,s.y)("auth-errors-troubleshoot")?(0,r.jsxs)(R,{children:[(0,r.jsx)(a(),{children:(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}),(0,r.jsxs)(F,{children:[(0,r.jsxs)(W,{children:[(0,r.jsx)(H,{children:"Auth Error Showcase"}),(0,r.jsx)(G,{children:(0,r.jsx)("code",{children:"auth-errors-troubleshoot"})})]}),(0,r.jsxs)(Y,{children:["All ",B.length," error variants rendered with their trigger conditions and the user-facing copy from AUTH_ERROR_META."]})]}),(0,r.jsx)(q,{children:B.map((function(n,e){var t=d.N[n];return(0,r.jsxs)(U,{children:[(0,r.jsx)(M,{children:e+1}),(0,r.jsxs)(X,{children:[(0,r.jsxs)(V,{children:[(0,r.jsx)(J,{children:n}),(0,r.jsxs)(Q,{children:[(0,r.jsx)($,{children:"When triggered"}),(0,r.jsx)(nn,{children:z[n]})]}),(0,r.jsxs)(Q,{children:[(0,r.jsx)($,{children:"Primary action"}),(0,r.jsx)(tn,{children:t.action})]})]}),(0,r.jsxs)(on,{children:[(0,r.jsx)(rn,{children:"User sees"}),(0,r.jsx)(an,{children:(0,r.jsxs)(en,{children:[(0,r.jsx)("h3",{children:t.titleDefault}),(0,r.jsx)("p",{children:t.bodyDefault}),(0,r.jsx)(tn,{children:t.ctaDefault})]})})]})]})]},n)}))})]}):(0,r.jsxs)(cn,{children:[(0,r.jsx)(a(),{children:(0,r.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}),(0,r.jsx)(ln,{children:"403"}),(0,r.jsxs)(sn,{children:["This page requires the ",(0,r.jsx)("code",{children:"auth-errors-troubleshoot"})," feature flag."]})]})}}
1,7774:function(n,e,t){"use strict";function o(n){switch(n){case"OAuthAccountNotLinked":return"accountAlreadyExists";case"AccessDenied":return"accessDenied";case"Verification":case"EmailSignin":case"CredentialsSignin":return"magicLinkInvalid";case"SessionRequired":case"RefreshAccessTokenError":return"sessionExpired";case"OAuthSignin":case"OAuthCallback":case"OAuthCreateAccount":case"EmailCreateAccount":case"Callback":case"Configuration":return"oauthCallbackError";case void 0:case"":case"Default":return"unknown";default:return"oauthCallbackError"}}t.d(e,{K:function(){return o},N:function(){return i}});var r=function(n){return{iconKey:"appreciate",titleKey:"auth.err.".concat(n,"SSOTitle"),titleDefault:"We couldn't sign you in with ".concat(n),bodyKey:"auth.err.".concat(n,"SSOBody"),bodyDefault:"Is ".concat(n," SSO set up with Curipod for your school or district? You can also create a free account."),ctaKey:"auth.err.createAccountCta",ctaDefault:"Create an account for free",action:"go-signup"}},i={accountAlreadyExists:{iconKey:"starStruck",titleKey:"auth.err.accountExistsTitle",titleDefault:"Oops! You already signed up.",bodyKey:"auth.err.accountExistsBody",bodyDefault:"Great to see you again! An account already exists with this email address \u2014 go ahead and log in.",ctaKey:"auth.err.logInCta",ctaDefault:"Log in",action:"retry-login"},doesNotMatchRules:{iconKey:"foldedHands",titleKey:"auth.err.domainTitle",titleDefault:"We can't find your email domain",bodyKey:"auth.err.domainBody",bodyDefault:"You may have used a different email address to sign up. Please try again with another email.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"},noAccountFound:{iconKey:"appreciate",titleKey:"auth.err.noAccountTitle",titleDefault:"We can't find an account for you",bodyKey:"auth.err.noAccountBody",bodyDefault:"If your school has purchased Curipod, look for an email invite from your admin. Otherwise, you can create a new account now.",ctaKey:"auth.err.signUpNowCta",ctaDefault:"Sign up now",action:"go-signup"},geolocationFirewall:{iconKey:"appreciate",titleKey:"auth.err.firewallTitle",titleDefault:"Your network is blocking access to Curipod",bodyKey:"auth.err.firewallBody",bodyDefault:"Your school or workplace network is preventing access to Curipod. Ask your IT administrator to allow access, then try again.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"},classlinkSSOError:r("ClassLink"),feideSSOError:r("Feide"),cleverSSOError:r("Clever"),googleSSOError:r("Google"),invalidResponseReceived:{iconKey:"foldedHands",titleKey:"auth.err.unexpectedTitle",titleDefault:"Oh no! An unexpected error occurred.",bodyKey:"auth.err.unexpectedBody",bodyDefault:"We're very sorry. Our team has been notified. Please try again in a moment.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"},oauthCallbackError:{iconKey:"foldedHands",titleKey:"auth.err.oauthCallbackTitle",titleDefault:"We couldn't complete your sign-in",bodyKey:"auth.err.oauthCallbackBody",bodyDefault:"Something went wrong while signing you in. Please try again \u2014 if it keeps happening, contact support.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"},accessDenied:{iconKey:"foldedHands",titleKey:"auth.err.accessDeniedTitle",titleDefault:"Sign-in was cancelled",bodyKey:"auth.err.accessDeniedBody",bodyDefault:"It looks like access was denied before sign-in could finish. Please try again.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"},sessionExpired:{iconKey:"appreciate",titleKey:"auth.err.sessionExpiredTitle",titleDefault:"Your session has expired",bodyKey:"auth.err.sessionExpiredBody",bodyDefault:"For your security, please sign in again to continue.",ctaKey:"auth.err.logInCta",ctaDefault:"Log in",action:"retry-login"},magicLinkInvalid:{iconKey:"mail",titleKey:"auth.err.codeInvalidTitle",titleDefault:"That code didn't work",bodyKey:"auth.err.codeInvalidBody",bodyDefault:"The code may be wrong or expired. Head back to log in and request a new code.",ctaKey:"auth.err.backToLoginCta",ctaDefault:"Back to log in",action:"retry-login"},rateLimited:{iconKey:"foldedHands",titleKey:"auth.err.rateLimitedTitle",titleDefault:"Too many attempts",bodyKey:"auth.err.rateLimitedBody",bodyDefault:"Please wait a minute, then try again.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"},emailSendFailed:{iconKey:"mail",titleKey:"auth.err.sendFailedTitle",titleDefault:"We couldn't send your code",bodyKey:"auth.err.sendFailedBody",bodyDefault:"Something went wrong sending your sign-in code. Please try again.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"},unknown:{iconKey:"foldedHands",titleKey:"auth.err.unexpectedTitle",titleDefault:"Oh no! An unexpected error occurred.",bodyKey:"auth.err.unexpectedBody",bodyDefault:"We're very sorry. Our team has been notified. Please try again in a moment.",ctaKey:"auth.err.tryAgainCta",ctaDefault:"Try again",action:"retry-login"}}}},function(n){n.O(0,[9774,2888,179],(function(){return e=66382,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
2//# sourceMappingURL=error-showcase-0fecfb11a4110846.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.