Has the way you setup Oauth changed? Previously I haven't had to use .createSession for the callback to work. It used to be you'd just contact the oauth provider and then await it's response. Is that still possible? If not I'm unsure on how to integrate the URLSearchParams part into my code.
Any help / guidance is greatly appreciated 🙏
TL;DR
Developers are seeking help with setting up OAuth in Next.js. They are unsure about the changes in the setup process, particularly regarding the use of `.createSession` and integrating URLSearchParams. Any guidance would be appreciated.
Solution: The setup process for OAuth in Next.js may have changed. Make sure to check the latest documentation for any updates or changes in the process.