hello,
i am trying to implement social login in my application. i have the implemented https://developer.okta.com/authentication-guide/social-login/google/ docs flow. everything work fine.
i am getting the token in my url but nothing happens after that.
i am getting error AuthSdkError: Unable to retrieve OAuth redirect params cookie
is there something that i am missing or doing wrong ?
note:
href=“https://dev-752434.oktapreview.com/oauth2/v1/authorize?idp=0oajx3fxqriyK…&client_id=0oajfz87w6suo…&response_type=id_token token&response_mode=fragment&scope=openid profile email&redirect_uri=http://localhost:4200/implicit/callback&state=w123dsw&nonce=g5ly497e8ps”
There is currently a feature gap when using social authentication with sign-in widget. The function redirectToIdp can not retrieve the tokens from Okta and pass them to the application in this use-case.
To resolve this issue, you need to set up a cookie called “okta-oauth-redirect-params”. You can find here an example to set up this cookie manually.