Mediawiki twitch login

I want to implement Twitch login in mediawiki.
To do so, I searched the mediawiki extension and found that it was an OAuth2 Client.
However, I do not know how to apply the Twitch API to this extension.
I do not know what value to put in any part.
I would appreciate it if you let me know what value you should put in what part.
You can see the extension in the link below.
https://www.mediawiki.org/wiki/Extension:OAuth2_Client

$wgOAuth2Client['client']['id']     = ''; // The client ID assigned to you by the provider
$wgOAuth2Client['client']['secret'] = ''; // The client secret assigned to you by the provider

$wgOAuth2Client['configuration']['authorize_endpoint']     = ''; // Authorization URL
$wgOAuth2Client['configuration']['access_token_endpoint']  = ''; // Token URL
$wgOAuth2Client['configuration']['api_endpoint']           = ''; // URL to fetch user JSON

Covers client_id and secret

The rest is in

https://id.twitch.tv/oauth2/.well-known/openid-configuration

Thank you. sir
Thanks to your help, I was able to set it up safely.
Thank you again. sir

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