alokr912 / moodle-mod_gotowebinar

Moodle goToWebinar Integration
GNU General Public License v3.0
7 stars 5 forks source link

Issue with latest version of Go to Webinar #36

Closed maurizio-masseti closed 2 years ago

maurizio-masseti commented 4 years ago

Hello alokr912, we have successfully been using your Moodle plugin for Go To Webinar for one year but recently with the introduction of the latest Authentication Policy in GTW the plugin is no more working. It seems that Go To Webinar updated the API and now the plugin is no more correctly communicating to it. Are you going to upgrade your plugin to be compliant with the latest version of Go To Webinar? We could also considering to sponsor the development. Best regards Maurizio mm@nume.plus

alokr912 commented 4 years ago

Hi Maurizio, I have already updated this plugin with new Authentication policy, kindly update it .

On Wed, Oct 7, 2020 at 10:40 PM maurizio-masseti notifications@github.com wrote:

Hello alokr912, we have successfully been using your Moodle plugin for Go To Webinar for one year but recently with the introduction of the latest Authentication Policy in GTW the plugin is no more working. It seems that Go To Webinar updated the API and now the plugin is no more correctly communicating to it. Are you going to upgrade your plugin to be compliant with the latest version of Go To Webinar? We could also considering to sponsor the development. Best regards Maurizio mm@nume.plus

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alokr912/moodle-mod_gotowebinar/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKIG2GXPKX2RVNGILCVRDLSJSOGRANCNFSM4SHVJOSQ .

-- Alok Kumar

maurizio-masseti commented 4 years ago

Hi alokr912, here on gitHub we can only find the one year old version we are at present using that has been working until last September. Then it stopped working properly: if we buy new GTW licences they doesn't work while with our old licenses everything is still ok, Where can we eventually download your uograde?

carlosmjr commented 3 years ago

Good afternoon @maurizio-masseti :

Did you receive any response? The repository is still not updated and @alokr912 website is not working either.

Regards

mahesh99569 commented 2 years ago

HI,

I am also having the same issue with gotowebinar updated API version is there anyway to fix it?

I received the below response even if I provided valid details

{"error":"invalid_client","error_description":"Client authentication failed."}

alokr912 commented 2 years ago

Hi Mahesh,

Kindly create a valid client using https://developer.goto.com/guides/HowTos/02_HOW_createClient/

mahesh99569 commented 2 years ago

HI Alok,

Created valid client only with client id - eeb3aba6-aea4-4889-a025-0a3174bdb1f0 but its showing redirect url as an issue, Kindly suggest me for if any code changes are required.

When I tried with below url https://authentication.logmeininc.com/oauth/authorize?client_id=eeb3aba6-aea4-4889-a025-0a3174bdb1f0&response_type=code&redirect_uri=http://localhost/m10 Its working fine. But when i try to do the same through moodle its not working.

mahesh99569 commented 2 years ago

Please check the request

Array ( [url] => https://api.getgo.com/oauth/v2/token [content_type] => [http_code] => 0 [header_size] => 0 [request_size] => 0 [filetime] => -1 [ssl_verify_result] => 0 [redirect_count] => 0 [total_time] => 12.019921 [namelookup_time] => 0 [connect_time] => 0 [pretransfer_time] => 0 [size_upload] => 0 [size_download] => 0 [speed_download] => 0 [speed_upload] => 0 [download_content_length] => -1 [upload_content_length] => -1 [starttransfer_time] => 0 [redirect_time] => 0 [redirect_url] => [primary_ip] => [certinfo] => Array ( )

[primary_port] => 0
[local_ip] => 
[local_port] => 0
[http_version] => 0
[protocol] => 0
[ssl_verifyresult] => 0
[scheme] => 
[appconnect_time_us] => 0
[connect_time_us] => 0
[namelookup_time_us] => 0
[pretransfer_time_us] => 0
[redirect_time_us] => 0
[starttransfer_time_us] => 0
[total_time_us] => 12019921

)

Passing data object as

Array ( [grant_type] => refresh_token [refresh_token] => )

And header are

Array ( [0] => Authorization: Basic ZWViM2FiYTYtYWVhNC00ODg5LWEwMjUtMGEzMTc0YmRiMWYwOkVWTzhNQjJVUmw5dDdxME1QY1JNcXF6Uw== [1] => Content-Type: application/x-www-form-urlencoded; charset=utf-8 )

alokr912 commented 2 years ago

Dear Mahesh,

Kindly specify the right auth redirect url in your goto portal

On Tue, 22 Mar 2022, 14:13 mahesh99569, @.***> wrote:

HI Alok,

Created valid client only with client id - eeb3aba6-aea4-4889-a025-0a3174bdb1f0 but its showing redirect url as an issue, Kindly suggest me for if any code changes are required.

— Reply to this email directly, view it on GitHub https://github.com/alokr912/moodle-mod_gotowebinar/issues/36#issuecomment-1074886572, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKIG2GGABSDR2JQDDN65ZTVBGB3HANCNFSM4SHVJOSQ . You are receiving this because you modified the open/close state.Message ID: @.***>

mahesh99569 commented 2 years ago

Hi Alok,

Please note that I mentioned my public url for example treat this as https://facebook.com let me know is it right or not

alokr912 commented 2 years ago

Dear Mahesh,

You format will be like host/mod/gotowebinar/oauthCallback.php

On Tue, 22 Mar 2022, 16:26 mahesh99569, @.***> wrote:

Hi Alok,

Please note that I mentioned my public url for example treat this as https://facebook.com https://facebook.com let me know is it right or not

— Reply to this email directly, view it on GitHub https://github.com/alokr912/moodle-mod_gotowebinar/issues/36#issuecomment-1075024452, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKIG2HF33NDZV5I6N5LWADVBGRPDANCNFSM4SHVJOSQ . You are receiving this because you modified the open/close state.Message ID: @.***>

mahesh99569 commented 2 years ago

hi Please correct if I am wrong I understood that redirect url must be like this

https://facebook.com/mod/gotowebinar/oauthCallback.php