is it possible to self host the frontend assets fo...
# ask-a-descoper
j
is it possible to self host the frontend assets for the flows? I'm running into csp issues. strict csp with nonce works except when descope encounters an error in the flow and the styling breaks when it redirects back to signin pagee
c
I don’t believe there is currently a way to self host the components. Probably worth troubleshooting this one deeper. Are you seeing anything interesting in the console log or network log of the browser?
j
These are the errors I'm getting Failed to load resource: the server responded with a status of 404 () 2563.ce3f03ebb088bc9e.js:1 No screen was found to show 4990-afcd98daeef7612a.js:1 POST https://auth.serro.ai/v1/flow/start 401 (Unauthorized) 1684-f43b84f3976fc06d.js:1 Failed to exchange token Failed to exchange sso code Error at Object.error (9164.5b9ae36179cf3d0c.js519017) at tm.<anonymous> (9164.5b9ae36179cf3d0c.js531423) at tm.<anonymous> (9164.5b9ae36179cf3d0c.js540392) at Generator.next (<anonymous>) at i (3093-19eca525e4f288e9.js124873)
this happens when I try to sign in using social logins when i have a misconfigured SSO tenant
Screenshot 2025-11-26 at 2.23.49 PM.png
m
about hosting your own frontend assets, maybe this option is viable for you https://docs.descope.com/flows/screens/byos
about the issue you encounter, I recommend you open ticket with HAR file
j
Thanks looks viable. In terms of opening ticket with har file could you elaborate a bit more?
m