localhost:3000/auth/1234
In my app/auth/[token]/page.tsx
export default function Page({ params }: { params: { token: string } }) {
return <div>My Post: {params.token}</div>;
}
Result -> params.token = 1234.
localhost:3000/auth/1234?code=123
The auth callback appends ?code=123.... to the URL
The '?' is messing up my ability to get the code. Anyone familiar with this?