Patryk MakowskiP
tRPC4y ago
12 replies
Patryk Makowski

CAS Authentication

So long story short. My University is using CAS as authentication provider. I was thinking that I could use NextAuth with it to authenticate my users but I have no clue how am I supposed to do that. They don't support OAuth2 because they have old version of CAS. I asked on GH discussion in NextAuth for help but didn't get any. I also tried seeking help on Theo's discord twice this month but no luck. I don't know what to do and I feel like people working there have no clue what to do. I really want to be using TRPC with NextJS as I love this combo but how on earth can I authenticate my users using something like this?

I was told I could use this lib https://www.npmjs.com/package/node-cas-client
npm
NodeJS of CAS client.. Latest version: 1.0.0, last published: 6 years ago. Start using node-cas-client in your project by running npm i node-cas-client. There are no other projects in the npm registry using node-cas-client.
node-cas-client
Was this page helpful?