New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instagram: Grant: missing session or misconfigured provider
#9196
Comments
Hi @baptisteArno Have you followed the migration guide on when updating to 3.4.4 ? |
Hello @alexandrebodin! Yes, I followed the guide. See my config from {
"instagram": {
"enabled": true,
"icon": "instagram",
"key": "<MY_KEY>",
"secret": "<MY_SECRET>",
"callback": "https://localhost:3000/connect/instagram/redirect",
"scope": ["user_profile"],
"redirectUri": "https://45b9e6cb7ea2.ngrok.io/connect/instagram/callback"
}
} |
Your config looks good to me at first sight so? some hypothesis to verify:
The only diff I have with my config is the callback which I left by default Let me know if any of this helps you |
Maybe it's worth mentioning that I tried to connect with Instagram before migrating 3.4.4 and I was the one reporting the new Instagram API. #9196 |
The problem comes from proxying localhost with |
Bug report
When logging in with Instagram, it redirects to the backend URL with the error code:
Grant: missing session or misconfigured provider
Describe the bug
I'm testing Instagram login on my localhost using ngrok.
It succesfully calls the
/connect/instagram/callback
route but then redirects with the errorGrant: missing session or misconfigured provider
[2021-01-23T08:11:48.074Z] debug GET /connect/instagram (16 ms) 302 [2021-01-23T08:12:22.352Z] debug GET /connect/instagram/callback?code=AQAfssCJ9EA2jZk0zLKgxCJc_Ov77OjoeIhyn8CvMjcii1Mes61qxRrADHOkrjdbmnfrT9EmhTQNOVIHdb0WdzHr38BoZ3paoP1JGAzqjWVUjCxHeNlMCDlnpaQ3ERrD3G6EdYjq3V_St-rVW4f6vayV4AODziFY8JDevAxXsJAWb5Ov11JIe3145-mYUHhrKF6v-i_V20iKtHQEzdAyw9qUS7kBPp1oFBmQ-ekKIvkkgw (19 ms) 302 [2021-01-23T08:12:22.573Z] debug GET index.html (10 ms) 200 [2021-01-23T08:12:22.853Z] debug GET /assets/images/logo_login.png (2 ms) 200
Here is my grant confing from
core_store
:I checked all this:
Steps to reproduce the behavior
System
The text was updated successfully, but these errors were encountered: