How to authorise Google Cloud Console Oauth from Replit?

I am running a Python code snippet that uses Youtube API. When I run the code and request authorisation using OAuth, I get the redirect_url_mismatch error.

You can’t sign in because this app sent an invalid request. You can try again later or contact the developer about this issue. 

If you are a developer of this app, see [error details](

Error 400: redirect_uri_mismatch

:wave: Hey @DShree, welcome to the forum!

Can you please provide a link to the Repl? This way it is easier for staff and members of the community to help you!

Also see this guide on how to share your code: