Our great sponsors
-
oidc-client-ts
OpenID Connect (OIDC) and OAuth2 protocol support for browser-based JavaScript applications
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
Anyone has done this with OAuth in Nextjs app? I'm looking for a SSR solution. right now i'm using https://github.com/authts/oidc-client-ts. it works great for client side rendering app. but with next 13 moving everthing server side I started using next-auth. it has support to host multi-domain app in vercel but if you want to host youself it is not possible right now. I'm doing too many hacks to getting it to work right now. https://github.com/nextauthjs/next-auth/issues/600 look here of the more discussion regarding this. so my question is there any other way to do oauth in nextjs 13 in multidomain usecase?
Anyone has done this with OAuth in Nextjs app? I'm looking for a SSR solution. right now i'm using https://github.com/authts/oidc-client-ts. it works great for client side rendering app. but with next 13 moving everthing server side I started using next-auth. it has support to host multi-domain app in vercel but if you want to host youself it is not possible right now. I'm doing too many hacks to getting it to work right now. https://github.com/nextauthjs/next-auth/issues/600 look here of the more discussion regarding this. so my question is there any other way to do oauth in nextjs 13 in multidomain usecase?
The only option I found is this one https://github.com/auth0/nextjs-auth0 so, just wanted to know anyone else faced this and how they solved it.