OAuth PHP OPENID

I want know how do I validate the token_id wich I recive in the URI after the login ?
I’m trying to use Oauth without libs for the first time =)

----MY PHP CODE----

<?php $client_id = 'a7ra5es2gk8nzob4lt1h0krp0haryf'; $client_secret = 'myClientSecret'; $redirect_uri = 'http://localhost:8080/twitch.tv/'; $response_type = 'id_token'; $url ='https://api.twitch.tv/kraken/oauth2/authorize?response_type='.$response_type.'&client_id='. $client_id.'&redirect_uri='.$redirect_uri.'&scope=viewing_activity_read+openid&state=c3ab8aa609ea11e793ae92361f002671'; ?>

LOGIN WITH TWITCH.TV

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