© 2026 Hedgehog Software, LLC
const params = new URL(req.url).searchParams const [accessToken, tokenType] = [params.get('access_token'), params.get('token_type')]; console.log(accessToken, tokenType)
null null
https://discord.com/oauth2/authorize?client_id=1116352238667960392&response_type=token&redirect_uri=http%3A%2F%2Flocalhost%3A8000%2Fauth&scope=identify