Skip to Content Skip to Menu

🕒 Save Time and Effort with CB Editor Assistant: Effortlessly create and refine content in Joomla 3, 4, & 5.
🎁 Limited Offer: Enjoy a 5-day FREE trial and save up to 30% afterward!

[SOLVED] Can't login with google

  • ktm640
  • ktm640
  • OFFLINE
  • Posts: 44
  • Thanks: 3
  • Karma: 0
7 years 11 months ago - 7 years 11 months ago #291431 by ktm640
[SOLVED] Can't login with google was created by ktm640
Hello,

I don't understand where my mistake. Fill all credentials in google, verify site and domain, get Client ID and secret key and fill in Connect plugin google options.
But still get error:

400. That’s an error.

Error: redirect_uri_mismatch

The redirect URI in the request, https://........./components/com_comprofiler/plugin/user/plug_cbconnect/endpoint.php?provider=google, does not match the ones authorized for the OAuth client. Visit console.developers.google.com/apis/credentials/oauthclient/893830284685-ggu42c0dg3bqhbhrpam4pns90k5tnok7.apps.googleusercontent.com?project=893830284685 to update the authorized redirect URIs.
Last edit: 7 years 11 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago #291435 by krileon
Replied by krileon on topic Can't login with google
Within your Google API Console in your Credentials for your web application you should have "Authorized redirect URIs" set to the URL supplied in backend of CB Connect. "Authorized JavaScript origins" should just be your domain. Note if you supply an https redirect uri then you can only connect through Google when viewing your site as https. It is extremely strict.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • ktm640
  • ktm640
  • OFFLINE
  • Posts: 44
  • Thanks: 3
  • Karma: 0
7 years 11 months ago - 7 years 11 months ago #291446 by ktm640
Replied by ktm640 on topic Can't login with google
Thanks for help!

Now error disappear.

I try to login with my google account. But get error (mail is used).
With facebook account login without problem.
After deleting myself from site I login with google account without problem.

It means what other old users also can't login with google account if they mails exists in database?

Is it possible to solve this?

Also I found that after deleting user (myself) and then login with google account successfully, I can't login with Facebook to my account :(
See error: mail is used.
Last edit: 7 years 11 months ago by ktm640.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48709
  • Thanks: 8319
  • Karma: 1447
7 years 11 months ago - 7 years 11 months ago #291466 by krileon
Replied by krileon on topic Can't login with google
You can't have 2 users with the same email address or username. Both are strictly unique in Joomla. To login with Google or Facebook to the same account you need to login with one of them first then use the respective Link button in your login module to link another account.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 7 years 11 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • ktm640
  • ktm640
  • OFFLINE
  • Posts: 44
  • Thanks: 3
  • Karma: 0
7 years 11 months ago #291512 by ktm640
Replied by ktm640 on topic Can't login with google
Thanks, I link logins successfully.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum