Replies: 2 comments 1 reply
-
Hello, wouldn't a simple block in the request controller solve the problem? if (req.method === "GET") {
res.status(404).json({error: "not found" GET" });
return;
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Kind of but the redirect from authjs will still include the callback in the query url which isnt ideal @jvras58 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In an express app using a single provider, clients can still navigate to
[SERVER]/signin
as opposed to[SERVER]/signin/google
and it will still render a default sign in page and return the document. How can I disable this default behaviour so that going to this url wont return any document?Beta Was this translation helpful? Give feedback.
All reactions