How would I have told it to?
My redirect URI is http://localhost:8000/auth/twitch/ not http://localhost:8000/auth/twitch/#
In no way am I directing this behavior intentionally, so what would cause this?
Redirect View:
def twitch_auth_redirect(request):
twitch_url = 'https://id.twitch.tv/oauth2/authorize?response_type=token&client_id={1} \
&redirect_uri={0}&scope=user_read+channel_subscriptions+user:read:email'.format(
config.twitch_redirect_uri,
config.twitch_client_id
)
return redirect(twitch_url)
I’ve had this issue in the past, and just used substring to make it valid. Anything stand out to you?