champakakumara

Results 17 comments of champakakumara

configured with google ,got error "Provider not defined."

> SOLVED for google in file provider.class.php change in line 907: 'redirect_uri' => $this->getCurrentURL(), to 'redirect_uri' => 'https://YOUR-SITE-NAME/plugins/singlesignon/front/callback.php/provider/', > > and > > in file callback.php in line 12 >...

> ![image](https://user-images.githubusercontent.com/24912077/169215378-c34ae273-9e8c-435a-b340-3254f589bbd4.png) thanks, now work and redirect from google but login failed ![image](https://user-images.githubusercontent.com/104112313/169242692-50a37443-7e26-4201-914e-fc5820c01387.png)

> ![image](https://user-images.githubusercontent.com/104112313/169259210-42aedde5-4de3-457e-9882-80d4d1b403a9.png) > > ![image](https://user-images.githubusercontent.com/104112313/169259443-fcbafa94-dad6-4361-a049-107689a58d46.png) > > email address configured to glpi user and configured popupAuth and authorized Domain but same error what I misconfigure?

test with one domain but same result

> may be space? del space ![image](https://user-images.githubusercontent.com/24912077/169260163-df439406-9edc-4b99-b370-1f4f545621e9.png) > > or try leaving one domain for test test with one domain but same error

I installed new version but got error again " Authorization Error ,Error 400: redirect_uri_mismatch" DB table "glpi_plugin_singlesignon_providers " correct and Authorized redirect URIs was correct on [google console](https://console.cloud.google.com/)

in file callback.php in line 12 $provider_id = PluginSinglesignonToolbox::getCallbackParameters('provider'); I change it like below $provider_id =1; but same error, any misconfigure? Authorized redirect URIs on google console (https://console.cloud.google.com/) like below...

> Now Work ,I changed provider.class.php callback URL. now work thanks

New version work with google SSO