Next.js Discord

Discord Forum

API with Next

Unanswered
Sun bear posted this in #help-forum
Open in Discord
Avatar
Sun bearOP
Hello everyone.. Can anyone tell me what if i have data from the API API_V1_URL, username, and pass for env file, but i need to create an authorization form using Next js. How to do it ? Unfortunately, I did not find a solution or any article dedicated to this...
https://nextjs.org/docs/app/building-your-application/authentication I found this, but as I understand it, you need to use it with a ready-made backand. https://authjs.dev/getting-started/authentication/oauth Auth js also offers ready-made solutions such as github or google. But in my case, I would like to understand how to do this using a custom api as an example? I don't have documentation for the API of the service I use.

0 Replies