Next.js Discord

Discord Forum

Making a public route in the authenticated nextjs app to allow SSOing in the nextjs app

Unanswered
kabhi_Frooti_kabhi_phuchka posted this in #help-forum
Open in Discord
How can make a public route in a nextjs app which is already having an authentication layer of nextauth using ID4 provider? The purpose is to allow some users to directly SSO in this app using the public route like "http://localhost:3000/home?param1=123&param2=token". This route will call the credentials provider and the path to call the credentials provider is app/[lang]/home

0 Replies