Patryk Makowski
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
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
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
CAS Authentication
Do you think I could use https://trpc.io/docs/middlewares to achieve the same as they mention in docs?
13 replies