https://kotlinlang.org logo
#ktor
Title
m

morozov

09/14/2023, 10:50 AM
Guys, you’ve probably encountered ‘authenticate(“auth-session”)’ I have plugins like in the documentation, the session is recorded in a file and when try to switch to a router that is wrapped in ‘authenticate(“auth-session”)’ outputs the following and gets into the challenge instead of validating the session properly, and i don t understand why? I set the session like
this: call.sessions.set(UserSession(id = sub, name = name))
and it is recorded in my files of norms
I’m trying to do this within the framework of Google authentication, perhaps there are some underwater stones here
Screenshot 2023-09-14 at 16.49.51.png