Home › Forums › Legacy Support › Support queries › How-to & Troubleshooting › Logins not working
- This topic has 19 replies, 2 voices, and was last updated 2 years, 3 months ago by DrewNiemeyer.
-
AuthorPosts
-
November 20, 2021 at 11:46 am #374856DrewNiemeyerParticipantHi, I have set up firebase and got all the links happening. I have pasted the codes into WPLMS but the login page is not working. So, for example, if I click on login with Google, it tries to connect, but then stops, and nothing happens. Would you be able to have a look to see what is going on?November 20, 2021 at 11:49 am #374857DrewNiemeyerParticipantThis reply has been marked as private.November 22, 2021 at 2:08 pm #374916Anshuman SahuKeymasterWell we are getting this error when clicking on google login : Requests from referer https://orchestral-winds.firebaseapp.com/ are blocked It seems like you have set some referrer restrictions on your API key. You need to go to the Google Cloud Console and modify these restrictions on your API key. There might be some domain restriction that you added which are not necessary .November 22, 2021 at 2:39 pm #374924DrewNiemeyerParticipantI added this http referrer, and tried out a few minor variations of it: *orchestralwinds.com/* That's the only one I've listed there. I removed it just now, and retested the logins and it worked, so I'm not sure what to do. Are you suggesting to remove all restrictions? Do you have any idea of what else could be going wrong?November 24, 2021 at 2:21 am #375048DrewNiemeyerParticipantThis reply has been marked as private.November 24, 2021 at 1:46 pm #375102Anshuman SahuKeymasterYes we recommend to remove the restrictions since putting them its not working for you . Please contact the firebase support why the restrictions not working since the requests is blocked from their side .November 25, 2021 at 5:13 am #375133DrewNiemeyerParticipantMy goodness, I just tried to find out how to get support from Google. It's so complicated. I tried to have a go at posting something into the community forum, but apparently access is denied to me that one also. Have you got any ideas about what category this problem would be listed under? I've found these stack overflow forums... https://cloud.google.com/support/docs/stackexchange It has a big list of categories for questions and I'm not sure which applies. I'm thinking one of these, maybe?... https://prnt.sc/20ulvm7 I'm hoping you can give me a bit of a hint, to get going on this? Cheers.November 25, 2021 at 2:17 pm #375201Anshuman SahuKeymasterThis reply has been marked as private.November 27, 2021 at 12:29 am #375284DrewNiemeyerParticipantThis reply has been marked as private.November 27, 2021 at 1:56 pm #375319Anshuman SahuKeymasterPlease refer : https://prnt.sc/20xn1kx All it was needed to unlink firebase hosting .November 27, 2021 at 2:14 pm #375324DrewNiemeyerParticipantAh, that's awesome that it was such a small fix. Thanks so much for having a look. I never would have known. Cheers.November 28, 2021 at 12:32 am #375332DrewNiemeyerParticipantIn terms of adding to the settings in VibeBP, there isn't anything in the documentation about the other entries for firebase settings. Other than Firebase Config, which is explained very well in the videos and other docs, there are 4 other pieces of information listed that we can add: https://prnt.sc/20xrjzm Instead, in the documentation for WPLMS, there are only 2 pieces of information discussed https://prnt.sc/20xrl70 (the question marks in VibeBP settings all bring us to these instructions for the 2 pieces of info.) Also, it is not clear where these pieces of information go. As far as I can tell, the labels in VibeBP settings don't match the names for the keys etc in Firebase. I've taken a guess for a few of them, but I'm really only guessing. Would you mind to instruct me about which pieces of info in Firebase apply to which settings in VibeBp? Cheers.November 28, 2021 at 2:40 am #375334DrewNiemeyerParticipantActually, Alex, I'm sorry but I don't think the new firebase setting worked. I noticed that the original Orchestral Winds project in developers console had a second api key, autocreated by firebase. It didn't have an http referrer there, so I added one in. (I'm wondering if the 2nd api key came from a new web app in Firebase, in the original Orchestral Winds project?) After the change it didn't work. I haven't changed any settings in firebase or the developers console (other than the http referrer), so it must be another reason why it's not working, other than the firebase hosting link. With the http referrer removed from the api key, the Google login worked fine, but.. Facebook said that the domain is not whitelisted https://prnt.sc/20xs8ao I went ahead and logged into facebook, and it just opened up my facebook account in the login window: https://prnt.sc/20xs9lz I tried again and it said the redirect URI is not listed: https://prnt.sc/20xsa3x Here's the facebook page with the redirect URI listed: https://prnt.sc/20xsb3m For Twitter, the login window opens, finds firebase, and then closes. Microsoft opens fine https://prnt.sc/20xscde but if I type in my email, it doesn't continue to the next step... https://prnt.sc/20xsck2 But here is the setting in the azure portal https://prnt.sc/20xsdmc So, when the http referrer is added to Google, it doesn't connect, but if the https referrer is deleted, then it goes ahead and reaches the other apps. The other apps think there is something wrong with my domain or the redirect uri (which contains my domain). Could there be something wrong with my website?November 29, 2021 at 1:45 pm #375428Anshuman SahuKeymasterHi please try : console cloud google -> APIs & services -> credentials -> click on: browser key (auto created by firebase) -> application restrictions: none & API restrictions: don't restrict key. Now your API won't block any requests. I hope this works! Did you changed some settings in google cloud console. We made it work for you , you have to use only one api key there . please strictly follow the video : https://www.youtube.com/watch?v=0h3oECa2JMg&vl=en The video became old since google and fb changes their terms and platform settings frequently .November 29, 2021 at 11:00 pm #375453DrewNiemeyerParticipantHi Alex, I appreciate your help to try to get this working. Yes, when you made the changes the other day, Google login worked. But that was the only one. None of the other logins worked - Facebook, Twitter and Microsoft. Also, Google login only worked because you forgot to put in the http referrer. So if I add it, then google login does not work. So, I invite you to try to actually log into my site. I have removed the https referrer, so you can log in with google, but you will not be able to enter the site by any other login. So, I think that there is nothing wrong with the settings in firebase. It is supposed to have http referrer, for some security measure. So, with the correct settings, Google logins does not work. And I think I have the correct settings in Facebook, Twitter and Microsoft as well. They also don't work, apparently for the same reason. From my last message, my question is... why do none of the apps recognise my site to be orchestralwinds.com? None of them recognise it. They all deny access because apparently they do not recognise the site. So I am wondering what is being sent out from my site. Is there any way to find out what the apps are receiving? What is being sent from my site that causes them to reject the request?
-
AuthorPosts
- The topic ‘Logins not working’ is closed to new replies.