Social Connection causing 400 Error

Any social connection I add result in Error 400 on the login popup

Hi @wrushasendakhane,

Welcome to Auth0 Community!

Have you enabled an application for the social connection? Are there any screenshots of the error you are seeing?

Yes the application is enabled and I also did try connection and it worked too.

Network Tab sanpshot

  1. Request URL:

https://wrushasendakhane.us.auth0.com/authorize?client_id=3fldMFYiXl4j3d9cyj5FJHvJ3x4CQTM0&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000&scope=openid%20profile%20email&state=g6Fo2SBQaG52QzI3WGdoOEF0bEpHdzZ6VkEzZUNlSHMyaFZoNqN0aWTZIC1TSmQ4MzlaeFFsUmo2Z1ZSMlVzNF9pNktKdGhNVU44o2NpZNkgM2ZsZE1GWWlYbDRqM2Q5Y3lqNUZKSHZKM3g0Q1FUTTA&nonce=aEZBaH5NaDhtdjRqNEZPU2JOfnBLUn4xOWhUfkt5anE3U0RheUx3UUtQWg%3D%3D&connection=google-oauth2&is_submitting=false&sso=true&is_default_prevented=function%20functionThatReturnsTrue()%20{ %20%20%20%20%20%20return%20true%3B %20%20%20%20}&response_mode=web_message&event_phase=3&_intstate=deprecated&buttons=0&native_event=[object%20MouseEvent]&_csrf=zXjpGqei-75_qyY_Hg-ti45BxorUY70N4Yy8&get_modifier_state=function%20modifierStateGetter(keyArg)%20{ %20%20%20%20%20%20var%20syntheticEvent%20%3D%20this%3B %20%20%20%20%20%20var%20nativeEvent%20%3D%20syntheticEvent.nativeEvent%3B %20%20%20%20%20%20if%20(nativeEvent.getModifierState)%20{ %20%20%20%20%20%20%20%20return%20nativeEvent.getModifierState(keyArg)%3B %20%20%20%20%20%20} %20%20%20%20%20%20var%20keyProp%20%3D%20modifierKeyToProp[keyArg]%3B %20%20%20%20%20%20return%20keyProp%20%3F%20!!nativeEvent[keyProp]%20%3A%20false%3B %20%20%20%20}&_dispatch_instances=[object%20Object]&view=[object%20Window]&_dispatch_listeners=function%20handleClick(event)%20{ %20%20%20%20var%20href%20%3D%20props.href%2C %20%20%20%20%20%20%20%20onClick%20%3D%20props.onClick%3B %20%20%20%20if%20(disabled%20||%20isTrivialHref(href))%20{ %20%20%20%20%20%20event.preventDefault()%3B %20%20%20%20} %20%20%20%20if%20(disabled)%20{ %20%20%20%20%20%20event.stopPropagation()%3B %20%20%20%20%20%20return%3B %20%20%20%20} %20%20%20%20if%20(onClick)%20{ %20%20%20%20%20%20onClick(event)%3B %20%20%20%20} %20%20}&bubbles=true&movement_x=0&page_x=200&current_target=http%3A%2F%2Flocalhost%3A3000%2F%23&movement_y=0&page_y=33&is_propagation_stopped=function%20functionThatReturnsFalse()%20{ %20%20%20%20%20%20return%20false%3B %20%20%20%20}&screen_x=200&is_trusted=true&screen_y=167&client_x=200&client_y=33&code_challenge_method=S256&detail=1&code_challenge=FkR_UB0SxJaCJ7Ij0D5ispTNhfOq7UhH5nBiObsSFyE&target=http%3A%2F%2Flocalhost%3A3000%2F%23&button=0&auth0Client=eyJuYW1lIjoiYXV0aDAtcmVhY3QiLCJ2ZXJzaW9uIjoiMS4wLjAiLCJlbnYiOnsibG9jay5qcy11bHAiOiIxMS4yNi4xIiwiYXV0aDAuanMtdWxwIjoiOS4xMy40IiwiYXV0aDAuanMiOiI5LjEzLjQifX0%3D&cancelable=true&ctrl_key=false&time_stamp=211881.4849999908&_target_inst=[object%20Object]&default_prevented=true&alt_key=false&protocol=oauth2&meta_key=false&type=click&dispatch_config=[object%20Object]&related_target=null&shift_key=false

  1. Request Method:

GET

  1. Status Code:

400

  1. Remote Address:

3.134.43.80:443

  1. Referrer Policy:

same-origin

  1. Response Headers

  2. date:

Thu, 06 Aug 2020 06:00:08 GMT

  1. server:

nginx

  1. status:

400

  1. strict-transport-security:

max-age=15724800

  1. Request Headers

  2. :authority:

wrushasendakhane.us.auth0.com

  1. :method:

GET

  1. :path:

/authorize?client_id=3fldMFYiXl4j3d9cyj5FJHvJ3x4CQTM0&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000&scope=openid%20profile%20email&state=g6Fo2SBQaG52QzI3WGdoOEF0bEpHdzZ6VkEzZUNlSHMyaFZoNqN0aWTZIC1TSmQ4MzlaeFFsUmo2Z1ZSMlVzNF9pNktKdGhNVU44o2NpZNkgM2ZsZE1GWWlYbDRqM2Q5Y3lqNUZKSHZKM3g0Q1FUTTA&nonce=aEZBaH5NaDhtdjRqNEZPU2JOfnBLUn4xOWhUfkt5anE3U0RheUx3UUtQWg%3D%3D&connection=google-oauth2&is_submitting=false&sso=true&is_default_prevented=function%20functionThatReturnsTrue%28%29%20%7B%0A%20%20%20%20%20%20return%20true%3B%0A%20%20%20%20%7D&response_mode=web_message&event_phase=3&_intstate=deprecated&buttons=0&native_event=%5Bobject%20MouseEvent%5D&_csrf=zXjpGqei-75_qyY_Hg-ti45BxorUY70N4Yy8&get_modifier_state=function%20modifierStateGetter%28keyArg%29%20%7B%0A%20%20%20%20%20%20var%20syntheticEvent%20%3D%20this%3B%0A%20%20%20%20%20%20var%20nativeEvent%20%3D%20syntheticEvent.nativeEvent%3B%0A%0A%20%20%20%20%20%20if%20%28nativeEvent.getModifierState%29%20%7B%0A%20%20%20%20%20%20%20%20return%20nativeEvent.getModifierState%28keyArg%29%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20var%20keyProp%20%3D%20modifierKeyToProp%5BkeyArg%5D%3B%0A%20%20%20%20%20%20return%20keyProp%20%3F%20%21%21nativeEvent%5BkeyProp%5D%20%3A%20false%3B%0A%20%20%20%20%7D&_dispatch_instances=%5Bobject%20Object%5D&view=%5Bobject%20Window%5D&_dispatch_listeners=function%20handleClick%28event%29%20%7B%0A%20%20%20%20var%20href%20%3D%20props.href%2C%0A%20%20%20%20%20%20%20%20onClick%20%3D%20props.onClick%3B%0A%0A%20%20%20%20if%20%28disabled%20%7C%7C%20isTrivialHref%28href%29%29%20%7B%0A%20%20%20%20%20%20event.preventDefault%28%29%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20%28disabled%29%20%7B%0A%20%20%20%20%20%20event.stopPropagation%28%29%3B%0A%20%20%20%20%20%20return%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20%28onClick%29%20%7B%0A%20%20%20%20%20%20onClick%28event%29%3B%0A%20%20%20%20%7D%0A%20%20%7D&bubbles=true&movement_x=0&page_x=200&current_target=http%3A%2F%2Flocalhost%3A3000%2F%23&movement_y=0&page_y=33&is_propagation_stopped=function%20functionThatReturnsFalse%28%29%20%7B%0A%20%20%20%20%20%20return%20false%3B%0A%20%20%20%20%7D&screen_x=200&is_trusted=true&screen_y=167&client_x=200&client_y=33&code_challenge_method=S256&detail=1&code_challenge=FkR_UB0SxJaCJ7Ij0D5ispTNhfOq7UhH5nBiObsSFyE&target=http%3A%2F%2Flocalhost%3A3000%2F%23&button=0&auth0Client=eyJuYW1lIjoiYXV0aDAtcmVhY3QiLCJ2ZXJzaW9uIjoiMS4wLjAiLCJlbnYiOnsibG9jay5qcy11bHAiOiIxMS4yNi4xIiwiYXV0aDAuanMtdWxwIjoiOS4xMy40IiwiYXV0aDAuanMiOiI5LjEzLjQifX0%3D&cancelable=true&ctrl_key=false&time_stamp=211881.4849999908&_target_inst=%5Bobject%20Object%5D&default_prevented=true&alt_key=false&protocol=oauth2&meta_key=false&type=click&dispatch_config=%5Bobject%20Object%5D&related_target=null&shift_key=false

  1. :scheme:

https

  1. accept:

text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9

  1. accept-encoding:

gzip, deflate, br

  1. accept-language:

en-GB,en-US;q=0.9,en;q=0.8

  1. cookie:

ajs_anonymous_id=%22d4528aee-d01e-4adb-a190-2574232fe9b3%22; _ga=GA1.2.726976781.1596648843; _gid=GA1.2.1716582380.1596648843; _gac_UA-37952868-1=1.1596648843.CjwKCAjwsan5BRAOEiwALzomX29LWSkoL9Ef0FK32aYKY4H5j4jwMF_lZGcfq9AOD6UfFMLYIXApexoCGOIQAvD_BwE; _gcl_aw=GCL.1596648843.CjwKCAjwsan5BRAOEiwALzomX29LWSkoL9Ef0FK32aYKY4H5j4jwMF_lZGcfq9AOD6UfFMLYIXApexoCGOIQAvD_BwE; _gcl_au=1.1.1166992562.1596648843; _fbp=fb.1.1596648843760.1440767706; _gac_UA-37952868-41=1.1596648845.CjwKCAjwsan5BRAOEiwALzomX29LWSkoL9Ef0FK32aYKY4H5j4jwMF_lZGcfq9AOD6UfFMLYIXApexoCGOIQAvD_BwE; ga_Rollup=GA1.2.726976781.1596648843; ga_Rollup_gid=GA1.2.866564674.1596648845; _gac_UA-37952868-51=1.1596648845.CjwKCAjwsan5BRAOEiwALzomX29LWSkoL9Ef0FK32aYKY4H5j4jwMF_lZGcfq9AOD6UfFMLYIXApexoCGOIQAvD_BwE; _hjid=dbb01272-7a29-47f6-910f-15418b792d1e; ajs_user_id=%22github%7C2119851%22; did=s%3Av0%3A7ed10670-d743-11ea-9ee4-43fc0d224590.eZr%2B3uv78G2ymXcAeCbV4zGE16d03nFelOVOu%2B6m6Ls; did_compat=s%3Av0%3A7ed10670-d743-11ea-9ee4-43fc0d224590.eZr%2B3uv78G2ymXcAeCbV4zGE16d03nFelOVOu%2B6m6Ls; docs_current_tenant=wrushasendakhane%40pus3; _hp2_ses_props.1279799279=%7B%22r%22%3A%22https%3A%2F%2Fauth0.com%2Fdocs%2Fquickstarts%22%2C%22ts%22%3A1596688764164%2C%22d%22%3A%22manage.auth0.com%22%2C%22h%22%3A%22%2Fdashboard%2Fus%2Fwrushasendakhane%2Fapplications%2FPnKXna7Hb9gN9IXAuDtcHr52OjLCapLs%2Fsettings%22%7D; auth0=s%3A9dirCYs_HpNNhuVD_l6MlOFOA7YqaA8H.ADEDckQBjvgid7UzyulNxfezhRmKm%2BqpsTFVbF42H3Y; auth0_compat=s%3A9dirCYs_HpNNhuVD_l6MlOFOA7YqaA8H.ADEDckQBjvgid7UzyulNxfezhRmKm%2BqpsTFVbF42H3Y; _hp2_id.1279799279=%7B%22userId%22%3A%226782986881568319%22%2C%22pageviewId%22%3A%22659303710297452%22%2C%22sessionId%22%3A%223016968821581475%22%2C%22identity%22%3Anull%2C%22trackerVersion%22%3A%224.0%22%7D; OptanonConsent=landingPath=NotLandingPage&datestamp=Wed+Aug+05+2020+22%3A54%3A20+GMT-0700+(Pacific+Daylight+Time)&version=3.6.18&AwaitingReconsent=false&groups=1%3A1%2C2%3A1%2C3%3A1%2C4%3A1%2C0_126292%3A1%2C0_126279%3A1%2C0_121122%3A1%2C0_126287%3A1%2C0_126283%3A1%2C0_126291%3A1%2C0_126278%3A1%2C0_126286%3A1%2C0_126282%3A1%2C0_126290%3A1%2C0_126281%3A1%2C0_121124%3A1%2C0_126277%3A1%2C0_126289%3A1%2C0_126285%3A1%2C0_126293%3A1%2C0_126280%3A1%2C0_121123%3A1%2C0_126288%3A1%2C0_126284%3A1%2C101%3A1%2C102%3A1%2C103%3A1%2C104%3A1%2C105%3A1%2C106%3A1%2C107%3A1%2C108%3A1%2C109%3A1%2C110%3A1%2C111%3A1%2C112%3A1%2C113%3A1%2C114%3A1%2C115%3A1%2C116%3A1%2C117%3A1%2C118%3A1%2C119%3A1%2C120%3A1%2C121%3A1%2C122%3A1%2C123%3A1%2C124%3A1%2C125%3A1%2C126%3A1%2C127%3A1%2C128%3A1%2C129%3A1%2C130%3A1%2C131%3A1%2C132%3A1%2C133%3A1%2C134%3A1%2C135%3A1%2C136%3A1

  1. referer:

https://wrushasendakhane.us.auth0.com/login?state=g6Fo2SBQaG52QzI3WGdoOEF0bEpHdzZ6VkEzZUNlSHMyaFZoNqN0aWTZIC1TSmQ4MzlaeFFsUmo2Z1ZSMlVzNF9pNktKdGhNVU44o2NpZNkgM2ZsZE1GWWlYbDRqM2Q5Y3lqNUZKSHZKM3g0Q1FUTTA&client=3fldMFYiXl4j3d9cyj5FJHvJ3x4CQTM0&protocol=oauth2&responseType=token%2C%20id_token&redirect_uri=http%3A%2F%2Flocalhost%3A3000&dispatchConfig=[object%20Object]&_targetInst=[object%20Object]&_dispatchListeners=function%20handleClick(event)%20{ %20%20%20%20var%20href%20%3D%20props.href%2C %20%20%20%20%20%20%20%20onClick%20%3D%20props.onClick%3B %20%20%20%20if%20(disabled%20||%20isTrivialHref(href))%20%7B%0A%20%20%20%20%20%20event.preventDefault()%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20(disabled)%20%7B%0A%20%20%20%20%20%20event.stopPropagation()%3B%0A%20%20%20%20%20%20return%3B%0A%20%20%20%20%7D%0A%0A%20%20%20%20if%20(onClick)%20%7B%0A%20%20%20%20%20%20onClick(event)%3B%0A%20%20%20%20%7D%0A%20%20%7D&_dispatchInstances=%5Bobject%20Object%5D&nativeEvent=%5Bobject%20MouseEvent%5D&type=click&target=http%3A%2F%2Flocalhost%3A3000%2F%23&currentTarget=http%3A%2F%2Flocalhost%3A3000%2F%23&eventPhase=3&bubbles=true&cancelable=true&timeStamp=211881.4849999908&defaultPrevented=true&isTrusted=true&view=%5Bobject%20Window%5D&detail=1&screenX=200&screenY=167&clientX=200&clientY=33&pageX=200&pageY=33&ctrlKey=false&shiftKey=false&altKey=false&metaKey=false&getModifierState=function%20modifierStateGetter(keyArg)%20%7B%0A%20%20%20%20%20%20var%20syntheticEvent%20%3D%20this%3B%0A%20%20%20%20%20%20var%20nativeEvent%20%3D%20syntheticEvent.nativeEvent%3B%0A%0A%20%20%20%20%20%20if%20(nativeEvent.getModifierState)%20%7B%0A%20%20%20%20%20%20%20%20return%20nativeEvent.getModifierState(keyArg)%3B%0A%20%20%20%20%20%20%7D%0A%0A%20%20%20%20%20%20var%20keyProp%20%3D%20modifierKeyToProp%5BkeyArg%5D%3B%0A%20%20%20%20%20%20return%20keyProp%20%3F%20!!nativeEvent%5BkeyProp%5D%20%3A%20false%3B%0A%20%20%20%20%7D&button=0&buttons=0&relatedTarget=null&movementX=0&movementY=0&isDefaultPrevented=function%20functionThatReturnsTrue()%20%7B%0A%20%20%20%20%20%20return%20true%3B%0A%20%20%20%20%7D&isPropagationStopped=function%20functionThatReturnsFalse()%20%7B%0A%20%20%20%20%20%20return%20false%3B%0A%20%20%20%20%7D&scope=openid%20profile%20email&response_type=code&response_mode=web_message&nonce=aEZBaH5NaDhtdjRqNEZPU2JOfnBLUn4xOWhUfkt5anE3U0RheUx3UUtQWg%3D%3D&code_challenge=FkR_UB0SxJaCJ7Ij0D5ispTNhfOq7UhH5nBiObsSFyE&code_challenge_method=S256&auth0Client=eyJuYW1lIjoiYXV0aDAtcmVhY3QiLCJ2ZXJzaW9uIjoiMS4wLjAifQ%3D%3D

  1. sec-fetch-dest:

document

  1. sec-fetch-mode:

navigate

  1. sec-fetch-site:

same-origin

  1. sec-fetch-user:

?1

  1. upgrade-insecure-requests:

1

  1. user-agent:

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.105 Safari/537.36

  1. Query String Parametersview sourceview URL encoded

  2. client_id:

3fldMFYiXl4j3d9cyj5FJHvJ3x4CQTM0

  1. response_type:

code

  1. redirect_uri:

http://localhost:3000

  1. scope:

openid profile email

  1. state:

g6Fo2SBQaG52QzI3WGdoOEF0bEpHdzZ6VkEzZUNlSHMyaFZoNqN0aWTZIC1TSmQ4MzlaeFFsUmo2Z1ZSMlVzNF9pNktKdGhNVU44o2NpZNkgM2ZsZE1GWWlYbDRqM2Q5Y3lqNUZKSHZKM3g0Q1FUTTA

  1. nonce:

aEZBaH5NaDhtdjRqNEZPU2JOfnBLUn4xOWhUfkt5anE3U0RheUx3UUtQWg==

  1. connection:

google-oauth2

  1. is_submitting:

false

  1. sso:

true

  1. is_default_prevented:

function functionThatReturnsTrue() { return true; }

  1. response_mode:

web_message

  1. event_phase:

3

  1. _intstate:

deprecated

  1. buttons:

0

  1. native_event:

[object MouseEvent]

  1. _csrf:

zXjpGqei-75_qyY_Hg-ti45BxorUY70N4Yy8

  1. get_modifier_state:

function modifierStateGetter(keyArg) { var syntheticEvent = this; var nativeEvent = syntheticEvent.nativeEvent; if (nativeEvent.getModifierState) { return nativeEvent.getModifierState(keyArg); } var keyProp = modifierKeyToProp[keyArg]; return keyProp ? !!nativeEvent[keyProp] : false; }

  1. _dispatch_instances:

[object Object]

  1. view:

[object Window]

  1. _dispatch_listeners:

function handleClick(event) { var href = props.href, onClick = props.onClick; if (disabled || isTrivialHref(href)) { event.preventDefault(); } if (disabled) { event.stopPropagation(); return; } if (onClick) { onClick(event); } }

  1. bubbles:

true

  1. movement_x:

0

  1. page_x:

200

  1. current_target:

http://localhost:3000/#

  1. movement_y:

0

  1. page_y:

33

  1. is_propagation_stopped:

function functionThatReturnsFalse() { return false; }

  1. screen_x:

200

  1. is_trusted:

true

  1. screen_y:

167

  1. client_x:

200

  1. client_y:

33

  1. code_challenge_method:

S256

  1. detail:

1

  1. code_challenge:

FkR_UB0SxJaCJ7Ij0D5ispTNhfOq7UhH5nBiObsSFyE

  1. target:

http://localhost:3000/#

  1. button:

0

  1. auth0Client:

eyJuYW1lIjoiYXV0aDAtcmVhY3QiLCJ2ZXJzaW9uIjoiMS4wLjAiLCJlbnYiOnsibG9jay5qcy11bHAiOiIxMS4yNi4xIiwiYXV0aDAuanMtdWxwIjoiOS4xMy40IiwiYXV0aDAuanMiOiI5LjEzLjQifX0=

  1. cancelable:

true

  1. ctrl_key:

false

  1. time_stamp:

211881.4849999908

  1. _target_inst:

[object Object]

  1. default_prevented:

true

  1. alt_key:

false

  1. protocol:

oauth2

  1. meta_key:

false

  1. type:

click

  1. dispatch_config:

[object Object]

  1. related_target:

null

  1. shift_key:

false

Hi @wrushasendakhane,

Are you still having this issue? I’ve tried the URL you have posted and seems like it’s working fine now. I’ve checked your tenant logs internally and found that the error “Callback URL mismatch. is not in the list of allowed callback URLs”. Therefore, the error might be you are missing the callback URL in the application settings.

If you are still having this issue, could you kindly capture a HAR file (https://auth0.com/docs/troubleshoot/guides/generate-har-files) by reproducing the issue and DM it to me?

Thank you!

auth0-google-issue.har (35.7 KB)

Still having the same issue.

And I checked allowed callback is also mentioned same as redirectUri
`<Auth0Provider
domain=“wrushasendakhane.us.auth0.com
clientId=“3fldMFYiXl4j3d9cyj5FJHvJ3x4CQTM0”
redirectUri=“http://localhost:3000

<React.StrictMode>
  <App />
</React.StrictMode>

`