---
title: "Comment by Samantha Vale on \"Build a secure web application with Platformatic, Auth0 and Next.js\" | Hashnode"
description: "Amazing tutorial, thank you for sharing! I did wanted to ask about an issue I&#39;m facing, when running the frontend app it fails on window undefined, even wit"
url: "https://hashnode.com/posts/build-a-secure-web-application-with-platformatic-auth0-and-nextjs/643fffadd5147b909cf8fad2/comment/6451cb907a00e1d8014fe391"
---

[Discussion](https://hashnode.com/posts/build-a-secure-web-application-with-platformatic-auth0-and-nextjs/643fffadd5147b909cf8fad2)

Comment [Build a secure web application with Platformatic, Auth0 and Next.js](https://hashnode.com/posts/build-a-secure-web-application-with-platformatic-auth0-and-nextjs/643fffadd5147b909cf8fad2)

[Samantha Vale](https://hashnode.com/@karlasamantha)

[May 3, 2023](https://hashnode.com/posts/build-a-secure-web-application-with-platformatic-auth0-and-nextjs/643fffadd5147b909cf8fad2/comment/6451cb907a00e1d8014fe391)

Amazing tutorial, thank you for sharing! I did wanted to ask about an issue I'm facing, when running the frontend app it fails on window undefined, even with the typeof check. Any recommendations on how to fix this issue? Thanks!

[Simon Plenderleith](https://hashnode.com/@simonplend)

[May 23, 2023](https://hashnode.com/posts/build-a-secure-web-application-with-platformatic-auth0-and-nextjs/643fffadd5147b909cf8fad2/comment/6451cb907a00e1d8014fe391#reply-646d3ed79098493346f6efe2)

Thanks for the kind words, Samantha!

Sorry to hear about the problem you've run into. If you're able to jump on to the Platformatic Discord it will be easier for me to try to help you debug the issue there: [discord.gg/platformatic](https://discord.gg/platformatic)
