Always get redirected to twitch.tv/login/?no-mobile-redirect= true


#1

https://api.twitch.tv/kraken/oauth2/authorize?client_id=//////&redirect_uri=///////&response_type=code&scope=viewing_activity_read&force_verify=true

My mobile browser doesn’t want to load this


#2

Well both the client_id and redirect_uri are totally invalid


#3

I censored them LOL. They are valid, since I can access trough my safari


#4

Client_ID is public information
And can’t help debug the issue if you censor both the redirect_URI and the client_ID

Redrect_URI’s are often an issue due to a mismatch between what you put in the URL and what you put in the dev console


#5

Ok there we are.
hudi://twitch/ is the redirect uri
hf14f0mh3zrquepfc2ni6ve68sw0ii is the client ID

The problem is that when I open it trough a safariviewcontroller (iOS Developer) it redirects me to that link.
If I open the link trough safari on desktop or I enable the desktop view from safari on mobile it works


#6

So this is a duplicate post of?

Please don’t create duplicate posts.

Generally speaking for that sort of view/implementatation you want to be using implicit auth instead, to prevent leaking your secret (as far as I know): https://dev.twitch.tv/docs/authentication/getting-tokens-oauth#oauth-implicit-code-flow


#7

Still, it won’t change since I still can open the app authentication url trough my mobile browser.


#8

Really dunno what to say lol