You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BaseOAuth::defaultReturnUrl() doesn't specify protocol. It means return URL generated matches protocol used at the website. If your website is served via HTTP it doesn't make sense to set return URL to HTTPS.
I have the same problem. My case: i use AWS Certificate manager + Application Load balancer
so my site uses http protocol and server doesn't know anything about ssl and load balancer makes it to be https for users.
and in this case code generates http links and facebook login doesn't work.
Facebook requir redirect URL only with HTTPS-protocol(http://ipic.su/img/img7/fs/kiss_9kb.1580221427.png).
But extension generate just HTTP URL.
Method \yii\authclient\BaseOAuth::defaultReturnUrl use createAbsoluteUrl() for generate redirect URL, but can not change second param and set HTTPS-protocol. As result we has HTTP link which Facebook does not allow: http://ipic.su/img/img7/fs/kiss_10kb.1580221485.png
Json encoded response: http://ipic.su/img/img7/fs/kiss_6kb.1580221550.png
The text was updated successfully, but these errors were encountered: