Description
I'm trying to move around the handler routes from the default folder (handler/[...stack]) to a different route (auth/[...stack]).
I've configured the StackServerApp urls to be as follows:
export const stackServerApp = new StackServerApp({
// ...
urls: {
handler: "/auth"
},
});
The signin and signup pages show correctly, but when I try to login using OAuth I get redirected to the following url:
http://localhost:3000/handler/oauth-callback
I would expect to be redirected to http://localhost:3000/auth/oauth-callback instead.
Packages
@stackframe/stack: ^2.8.47
next: 16.0.0