Log in after redirect twitch/tv

my code like this
package jsoup;

import java.io.IOException;

import org.openqa.selenium.chrome.ChromeDriver;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.chrome.ChromeDriver;

public class twitch {
private static WebDriver driver;

public static void main(String[] args) throws InterruptedException, IOException {

	// Open the Browser
	System.setProperty("webdriver.chrome.driver", "C:\\chromedriver.exe");

	Thread.sleep(1000);
	driver = new ChromeDriver();

	Thread.sleep(1000);

	String URL = "https://api.twitch.tv/kraken/oauth2/authorize?response_type=token+id_token&client_id=(fill my client id)&redirect_uri=(fill my rediretion url)&scope=viewing_activity_read+openid";

	driver.get(URL);
}

}

but when i execute the program, it doesn’t log in
(i used webdriver)