Author Topic: Roundcube Beta version 1.5 oauth redirect issue  (Read 84 times)

Offline prabhunath

  • Newbie
  • *
  • Posts: 1
Roundcube Beta version 1.5 oauth redirect issue
« on: April 11, 2021, 02:57:19 PM »

I had an issue in roundcube oauth integration for gmail. I am able to authenticate and allow access setting for gmail. After redirecting from gmail to rouncube with authenticatrion code. For me getting below error

PHP Fatal error:  Uncaught RuntimeException: Invalid state parameter in C:\xampp\htdocs\WebMail\program\include\rcmail_oauth.php:214
Stack trace:
#0 C:\xampp\htdocs\WebMail\program\actions\login\oauth.php(37): rcmail_oauth->request_access_token('4/0AY0e-g7vCBrl...', 'WF0MOrLq71sO')
#1 C:\xampp\htdocs\WebMail\index.php(199): rcmail_action_login_oauth->run()
#2 {main}
  thrown in C:\xampp\htdocs\WebMail\program\include\rcmail_oauth.php on line 214

I have tried giving optional state parameter as static c code without null. But also getting same error.

Please any one post oauth integration process, it helps .

Thanks in advance.