Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

force_verify parameter should be "true" not "1" #13

Closed
Coding-Kiwi opened this issue Apr 13, 2018 · 0 comments
Closed

force_verify parameter should be "true" not "1" #13

Coding-Kiwi opened this issue Apr 13, 2018 · 0 comments

Comments

@Coding-Kiwi
Copy link

Hi, when using

TwitchApi::getAuthenticationUrl($state, true)

the url generated contains "force_verify=1", sadly the api does not accept "1" it needs "true",
so I had to write a small workaround:

$url = str_replace("force_verify=1","force_verify=true",TwitchApi::getAuthenticationUrl($state, true));

just wanted to let you know, but great package :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant