Closed CodyMcMichael closed 4 years ago
v2.0 supports authenticating with Personal Access Tokens:
add_filter( 'github-embed-access-token', function ( $v ) {
return 'INSERTYOURPERSONALACCESSTOKENHERE';
} );
add_filter( 'github-embed-access-token-username', function ( $v ) {
return 'INSERTYOURUSERNAMEHERE';
} );
Hey, we are using your plugin on one of our sites and we received this email from Github. Is this something you are planning on addressing or working on? Thanks a bunch!
Hello there!
On February 3rd, 2020 at 22:15 (UTC) your application used its
client_id
andclient_secret
(with the User-Agent WordPress Github oEmbed plugin)Please use Basic Authentication instead as using OAuth credentials in query parameters has been deprecated.