When I was trying to run the application I had faced this problem. It was resolved by setting authorize redirect URLs in a proper manner.
- Go to google cloud platform , from the sidebar, click API Manager and select Credentials and then select OAuth consent screen.
- You need to add new client id for web application.
- Create Credentials à OAuth client IDà web Application (I choosed). In the Authorize Javascript orgins field, we need to enter the production URL or Local sever path. It also allows multiple URLs to allow for your application and click create button.
Solution: While entering the URL path Inthe Authorize Javascript Orgins just add the exact URL as.
http://localhost:8228
Do not give the path like this http://localhost:8228/projectpathit will throw the above error (invalid_client no registered origin).
Post your comments / questions
Recent Article
- How to get domain name information from a Domain using Python
- ModulenotFoundError: no module named 'debug_toolbar' -SOLUTION
- How to create superuser in django project hosted in cPanel without terminal
- CSS & images not loading in django admin | cpanel without terminal
- Could not build wheels for mysqlclient, which is required to install pyproject.toml-based projects
- How to sell domain name on Godaddy (2023)
- TemplateSyntaxError at / Could not parse the remainder: ' + 1' from 'forloop.counter0 + 1'
- urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'OpenSSL 1.0
Related Article