abacritt / angularx-social-login

Social login and authentication module for Angular 17
630 stars 388 forks source link

Google login issue #695

Closed sanghamitagit closed 1 year ago

sanghamitagit commented 1 year ago

Hi,

I am facing a problem when I try to login with google in my angular website. I have installed npm angularx-social-login where the version is "^3.5.1" ("angularx-social-login": "^3.5.1") in my app package.json file. In my project I am using angular version "~10.1.4".

When I try to login with google this give me error "ERROR Error: Uncaught (in promise): Object: {"error":"popup_closed_by_user"}". I tried a lot, everything I created a new project and setup clientId and other credentials in developer console google using auth0 client id. But still cannot login using google. Please help me on that. I need your help.

This is my package.json file in below:

{ "name": "trade", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "private": true, "dependencies": { "@agm/core": "^1.1.0", "@angular/animations": "^10.1.6", "@angular/common": "~10.1.4", "@angular/compiler": "~10.1.4", "@angular/core": "~10.1.4", "@angular/fire": "^6.0.3", "@angular/forms": "~10.1.4", "@angular/localize": "~10.1.4", "@angular/platform-browser": "~10.1.4", "@angular/platform-browser-dynamic": "~10.1.4", "@angular/router": "~10.1.4", "@angular/service-worker": "~10.1.4", "@fireflysemantics/angular-stripe-service": "^1.0.0", "@ng-bootstrap/ng-bootstrap": "^8.0.4", "@types/googlemaps": "^3.43.3", "angular-cc-library": "^2.0.1", "angular-star-rating": "^2.0.1", "angularx-social-login": "^3.5.1", "bootstrap": "^4.5.3", "classlist.js": "^1.1.20150312", "firebase": "^7.24.0", "font-awesome": "^4.7.0", "hammerjs": "^2.0.8", "jquery": "^3.5.1", "lodash": "^4.17.20", "moment": "^2.29.1", "ng-payment-card": "0.0.8", "ng-starrating": "^1.0.20", "ngx-image-cropper": "^3.3.2", "ngx-image-gallery": "^2.0.5", "ngx-infinite-scroll": "^10.0.1", "ngx-paypal": "^6.2.0", "ngx-scrolltop": "^2.3.0", "ngx-spinner": "^10.0.1", "ngx-star-rating": "0.0.1", "ngx-toastr": "^13.1.0", "popper.js": "^1.16.1", "rxjs": "~6.6.0", "tslib": "^2.0.0", "web-animations-js": "^2.3.2", "zone.js": "~0.10.2" }, "devDependencies": { "@angular-devkit/architect": ">= 0.900 < 0.1200", "@angular-devkit/build-angular": "^0.1001.7", "@angular/cli": "~10.1.4", "@angular/compiler-cli": "~10.1.4", "@types/jasmine": "~3.5.0", "@types/jasminewd2": "~2.0.3", "@types/node": "^12.11.1", "codelyzer": "^6.0.0", "firebase-tools": "^8.0.0", "fuzzy": "^0.1.3", "inquirer": "^6.2.2", "inquirer-autocomplete-prompt": "^1.0.1", "jasmine-core": "~3.6.0", "jasmine-spec-reporter": "~5.0.0", "karma": "~5.0.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage-istanbul-reporter": "~3.0.2", "karma-jasmine": "~4.0.0", "karma-jasmine-html-reporter": "^1.5.0", "open": "^7.0.3", "protractor": "~7.0.0", "ts-node": "~8.3.0", "tslint": "~6.1.0", "typescript": "~4.0.2" } }

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.