Django AllAuth, Google Sign In uri_redirect_mismatch


Has anyone successfully integrated AllAuth with Cloud9? I’m getting uri_redirect_mismatch when I attempt to use Google Sign In as the Auth. I created a Google Project along and retrieved my OAuth keys and inputted those into the Django admin panel but I’m still getting redirect mismatches. Anyone run into this?


Hey @rangeles_localytics :slightly_smiling:,

Seeing this SO, it makes me think it’s possibly something to do with an $IP and/or $PORT setting in C9:

:book: :cat2:


Ah thanks for the info! I figured it out though, within your Google console, you have to make sure you account for all variations of the redirect_uri. In my case, you have to put both, “https” and “http” versions of the redirect_uri.