workos / authkit-nextjs

The WorkOS library for Next.js provides convenient helpers for authentication and session management using WorkOS & AuthKit with Next.js.
MIT License
58 stars 14 forks source link

Allow undefined redirect uri #97

Closed PaulAsjes closed 3 days ago

PaulAsjes commented 4 days ago

We intended for the redirect URI to be configurable via either env variables or via the middleware config object, but it wasn't working as intended. This fixes that.