You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
every login made redirection to /api/auth/callback/github, but /api/auth/callback/github is always not found, and the URL says redirect_uri_mismatch in search parameters
there is nothing under /api/auth, but /auth/ and /auth/login did has response
if OAuth is configured with http://localhost:3000/auth/callback/github, and remove the basePath, everything is okay
How to reproduce
clone this repo
make an OAuth app with http://localhost:3000/api/auth/callback/github
pnpm dev --port 3000
try login
Expected behavior
path under /api/auth should not be no found when basePath is configured, and anything /auth should be not found
The text was updated successfully, but these errors were encountered:
alissa-tung
added
bug
Something isn't working
triage
Unseen or unconfirmed by a maintainer yet. Provide extra information in the meantime.
labels
Aug 12, 2024
Environment
Reproduction URL
https://github.com/alissa-tung/bug-08-12
Describe the issue
the callback in OAuth app is
/api/auth/callback/github
, but/api/auth/callback/github
is always not found, and the URL saysredirect_uri_mismatch
in search parameters/api/auth
, but/auth/
and/auth/login
did has responsehttp://localhost:3000/auth/callback/github
, and remove thebasePath
, everything is okayHow to reproduce
http://localhost:3000/api/auth/callback/github
pnpm dev --port 3000
Expected behavior
path under
/api/auth
should not be no found whenbasePath
is configured, and anything/auth
should be not foundThe text was updated successfully, but these errors were encountered: