Getting Status 400 while OIDC Authorization

We are following this documentation OIDC Authorization Code Flow

Trying to get UserID and StreamKey.

Our GET Call https://id.twitch.tv/oauth2/authorize?response_type=token+id_token&client_id=(our_clientid)&redirect_uri=(our_uri_address)&scope=user_read+channel_read+openid&state=c3ab8aa609ea11e793ae92361f002671&claims={"id_token":{"email":null,"email_verified":null%20},"userinfo":{"picture":null}}

We get as a response:
{“status”:400,“message”:“invalid scope: ‘openid’ required for ‘id_token’ response type”}

If anyone can point to right direction, it would be so helpful.
Thanks!

I predict the issue is you didn’t URLencode the our_uri_address and it merged &scope onwards with your redirect_uri

So you didn’t pass any scopes at all

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.