Question about next auth.
Hey all, The stack and full stack development in javascript in general is new for me.
I finding my way around while using the documentation. But I was wondering what the best way/ implementation should be to use next auth to call a query from another API. Old API that is still in use for verification. I can make this call with the correct credentials .
Afterwards i want to check in the same function for the email and password via a trpc query in a table in my database and return the result (unique user with that email and password) as my user in the session.
But i'm kinda stuck on the big picture here i guess.
Thanks in advance.
And if this is not appropriate to ask in the discord. Feel free to delete this.
I finding my way around while using the documentation. But I was wondering what the best way/ implementation should be to use next auth to call a query from another API. Old API that is still in use for verification. I can make this call with the correct credentials .
Afterwards i want to check in the same function for the email and password via a trpc query in a table in my database and return the result (unique user with that email and password) as my user in the session.
But i'm kinda stuck on the big picture here i guess.
Thanks in advance.
And if this is not appropriate to ask in the discord. Feel free to delete this.