WOLG
WOLG
TTCTheo's Typesafe Cult
Created by WOLG on 7/6/2023 in #questions
Next-auth in a pure react app
yes?
6 replies
TTCTheo's Typesafe Cult
Created by WOLG on 7/6/2023 in #questions
Next-auth in a pure react app
Well so In order to use next-auth there must be a running node server
6 replies
TTCTheo's Typesafe Cult
Created by WOLG on 1/28/2023 in #questions
Dynamic page omit assertion of router.query
Or whats the solution
4 replies
TTCTheo's Typesafe Cult
Created by WOLG on 1/28/2023 in #questions
Dynamic page omit assertion of router.query
Should I just return null when the page is rendered on a server
4 replies
TTCTheo's Typesafe Cult
Created by WOLG on 1/28/2023 in #questions
Dynamic page omit assertion of router.query
Assertion makes this link href='somepath/undefined' in page source
4 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
It seems so much cleaner for me
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
anyway thanks
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
I will consider those 2 options
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
Yeah
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
thanks
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
Will take a deeper look at next middlewares
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
But the whole Idea of protecting certain pages on a server level felt interesting to me
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
Yeah I think the same way. Much better option would be to create a separate backend and download confidential data from the server while serving empty not hydrated react pages
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
seems easy
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
Well It looks like I'd just have to return 401 status code instaed of serving a page
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
To serve a specific page to authenticated users
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
Anyways How would I do this through next middleware
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
Yea It does heh
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
just hard coded into react
48 replies
TTCTheo's Typesafe Cult
Created by WOLG on 12/29/2022 in #questions
Protecting static site data
Atm none but It would contain company specific data like charts etc that woudn't be downloaded from the server / db
48 replies