Skip to content

Routing problem, got 404 while the route is present on the directory. #75091

Closed Answered by AndreasYNY
Auvberon asked this question in Help
Discussion options

You must be logged in to vote

Hi, In this case, we were trying to avoid registering a new callback for oauth. So we just decided to make a new endpoint (that being /app/) that just redirects to our real callback endpoint. In hindsight, we should've just redirect the request from the middleware instead.

TLDR: we were making a new endpoint outside the /api/ endpoint (in our case was /app/callback) results in behaviour like this.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Auvberon
Comment options

Comment options

You must be logged in to vote
1 reply
@icyJoseph
Comment options

Answer selected by Auvberon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants