Patryk Makowski
Patryk Makowski
Explore posts from servers
TtRPC
Created by Patryk Makowski on 11/17/2022 in #❓-help
CAS Authentication
Yes, it works! But I don't know why when I'm using NextAuth middleware and I successfully log In (I can see session when I disable middleware and use useSession hook on index page) it still redirects me to login page 😕
13 replies
TtRPC
Created by Patryk Makowski on 11/17/2022 in #❓-help
CAS Authentication
Yeah, I thought of that but it would be going around the problem, not connecting to CAS at all. Currently I managed to convince team to update CAS from 4.x to 6.x and they enabled OAuth for me. This made possible using custom OAuth but rn the only issue is connected with some settings in the CAS so I just have to wait for the team. Thanks a lot for having me still in the back of your head and trying to help. I hope the issue will be resolved with this OAuth setup and I'll let you know if that will be the case.
13 replies
TtRPC
Created by Patryk Makowski on 11/17/2022 in #❓-help
CAS Authentication
https://apereo.github.io/cas/6.6.x/authentication/OAuth-Authentication.html Do you think that I could use that with NextAuth?
13 replies
TtRPC
Created by Patryk Makowski on 11/17/2022 in #❓-help
CAS Authentication
Do you think I could use https://trpc.io/docs/middlewares to achieve the same as they mention in docs?
13 replies
TtRPC
Created by Patryk Makowski on 11/17/2022 in #❓-help
CAS Authentication
I'm going to use a docker to host it on university's servers, so no serverless env. But I'm using it with NextJs so I'd like to be able to still use the generated client with useQuery etc. 😕
13 replies
TtRPC
Created by Patryk Makowski on 11/17/2022 in #❓-help
CAS Authentication
Anyone has any idea how to do it? 😥
13 replies