Installed Account linking extension and It workesd as intended when first signing up with email/password and then with a social connection (google in my case).
But when trying to link a google social connection as primary and email/password as secondary.
After clicking Continue
on account linking consent page, instead of asking me to login using google credentials it errors out showing this in the log
{
"date": "2022-02-09T17:48:46.390Z",
"type": "f",
"description": "Unsupported response mode: query",
"connection": "google-oauth2",
"connection_id": "con_tuUHkDgE",
"client_id": "yHpJ47mq06XX9ffiUA",
"client_name": "dev",
"ip": "XXX",
"user_agent": "Chrome 97.0.4692 / Linux 0.0.0",
"details": {
"body": {},
"qs": {
"state": "qaYvtmGpVSV5q4lZTXSEUCz4zwX2EkHG"
},
"connection": "google-oauth2",
"error": {
"message": "Unsupported response mode: query",
"oauthError": "unsupported_response_mode",
"type": "oauth-authorization"
},
"session_id": "kpl6qjyp9tltWiTp2M7y"
},
"hostname": "domain.us.auth0.com",
"user_id": "google-oauth2|1112314,
"user_name": "usernam@gmail.com",
"strategy": "google-oauth2",
"strategy_type": "social",
"audience": "xx"
"scope": [
"openid",
"profile",
"email"
],
"isMobile": false
}
In the Auth0 dashboard it shows the accounts are linked as I can see two identies for that user without actually logging in using google.
I used default configuration for SPA for my main application and for account linking extension application used the same callback, allowed origin etc.