CB Connect and deprecated Github API

3 years 7 months ago - 3 years 7 months ago #320124 by RobertvanderHulst
[#8135] CB Connect and deprecated Github API was created by RobertvanderHulst
We are using CB connect on our website so new users can register with an existing account on Facebook, Google and Github.
Since a while we are receiving warnings from Github that our website is using a deprecated API:
On August 25th, 2020 at 01:45 (UTC) your application (XXXXXX) used an access token (with the User-Agent Guzzle/4.2.2 curl/7.58.0 PHP/7.3.21) as part of a query parameter to access an endpoint through the GitHub API.

https://api.github.com/user

Please use the Authorization HTTP header instead as using the `access_token` query parameter is deprecated.

Depending on your API usage, we'll be sending you this email reminder on a monthly basis.

Visit https://developer.github.com/changes/2020-02-10-deprecating-auth-through-query-param for more information about suggested workarounds and removal dates.
I am not 100% sure, but I think this is coming from CB Connect.
XXXXXX is the name of the OAuth application for our Github organization.
The callback url on Github is oursite.com/components/com_comprofiler/plugin/user/plug_cbconnect/endpoint.php?provider=github

Is that correct and if so, what can I do to switch to the newer API and get rid of these warnings.

Robert

Please Log in to join the conversation.

3 years 7 months ago #320131 by krileon
Replied by krileon on topic CB Connect and deprecated Github API
Looks like it was just a change to their API when requesting authorized endpoints. Have added a feature ticket to CB Connect to implement the newer API.

forge.joomlapolis.com/issues/8135


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

3 years 7 months ago #320134 by krileon
Replied by krileon on topic CB Connect and deprecated Github API
This is now implemented in the latest build release available now to use latest GitHub OAuth header. Note the old way of loading plugin library files was also replaced in this release so if it fails to install initially try again and that should clear it up as that can happen sometimes when CB Connect is in memory at same time as install.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.188 seconds

Facebook Twitter LinkedIn