asciisd / zoho

Zoho package for Laravel
36 stars 36 forks source link

{"error":"invalid_redirect_uri"} #20

Closed jayomayan closed 3 years ago

jayomayan commented 3 years ago

Hi

I'm developing in my local and I get this error. zcrmsdk\oauth\exception\ZohoOAuthException Caused by:'Exception while fetching access token from grant token - HTTP/1.1 200 Server: ZGS Date: Fri, 09 Jul 2021 20:24:55 GMT Content-Type: application/json;charset=UTF-8 Content-Length: 32 Connection: keep-alive Set-Cookie: b266a5bf57=a711b6da0e6cbadb5e254290f114a026; Path=/ X-Content-Type-Options: nosniff X-XSS-Protection: 1 Set-Cookie: iamcsr=72f9c209-1ad4-41c7-ac1f-418996842463;path=/;SameSite=None;Secure;priority=high Set-Cookie: _zcsr_tmp=72f9c209-1ad4-41c7-ac1f-418996842463;path=/;SameSite=Strict;Secure;priority=high X-Frame-Options: SAMEORIGIN Content-Language: en-US Strict-Transport-Security: max-age=63072000 {"error":"invalid_redirect_uri"}'

jayomayan commented 3 years ago

in my ENV and also added to Zoho.

ZOHO_REDIRECT_URI=http://127.0.0.1:8000/

jayomayan commented 3 years ago

got it fixed.

kbellpostman commented 2 years ago

@jayomayan How did you fix it? :)