3arcus
3arcus
Explore posts from servers
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
Ok, thank you! Appreciate this, I'm still going to try to do it without user authentication, let's see, but if it does not work I will create this flow you suggest, appreciated bro smash
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
Im going to look into this further
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
I do, but Im grasping at what it kinda does
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
and I would use that wrapper as the authentication, to make sure the endpoint fetches originate from inside the app
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
I need to learn the context hook
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
but the app does
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
the clients has no access to it
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
so I create my wrapper, which is context, and that context is where the token resides
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
this is how next auth works
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
its the provider stuff, you wrap everything in a component that has the token
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
yeah I get it now
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
I guess I cannot
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
thats what I was trying to avoid
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
the app is fully functional right now
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
but I know that
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
so I need middleware
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
not for me lol 😛
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
I dont understand, this is very confusing, seems like it would be a basic thing, not wanting direct endpoint access that does not originate from a server call
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
thats why I only want "my app" to be able to call that enpoint
131 replies
TTCTheo's Typesafe Cult
Created by 3arcus on 6/29/2023 in #questions
Protect routes? For the app itself, no user auth, pages router. Help, desperate.
if one knows the endpoint you can pass any wallet
131 replies