![]() ![]() ![]() Why It’s Best to NOT Use “Sign in With Facebook” or Other Accounts Outages Will Then Impact Other Accounts (That Aren’t Down)įacebook recently experienced a major outage in early October that had all their sites (Facebook, Instagram, WhatsApp, etc.) down for nearly six hours. If they’re not logged in, then the login page they get is actually that of Facebook or the other “sign in with” service they chose. ![]() If someone chooses this option to sign up for a new cloud account, if they are already signed into Facebook or Google, they’ll be authorized to log into the new site right away. In essence, Facebook and the others are saying that we vouch for this person, if they’re signed in with us, then they’ve authenticated who they are. First, What is the “Sign in With” Process?įacebook, Google, and Apple, among others, allow websites to use their login authentication for user accounts. This also may be something a company wants to add to its cloud use policy. So having one less to manage can seem like a good idea.īut there are some serious drawbacks to signing into another cloud service account with your Google or Facebook account.įollowing are some reasons you do NOT want to use the “sign in with…” option and instead create a unique login for your accounts. People have an average of 38.4 passwords they must remember, and 53% of users rely on memory to “manage” passwords. If you’re already signed into Facebook or Google, it’s even easier to get started with the new account because you don’t have to log in at all. It can be tempting to reduce the number of different passwords out there you need to remember and just sign in using an account that you already have. Java is a registered trademark of Oracle and/or its affiliates.When signing up for a new account on a website or cloud service, you’ll often get a choice between creating a username and password or using the one you already have in place at Facebook or Google. For details, see the Google Developers Site Policies. Var auth2 = () Įxcept as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. You can enable users to sign out of your app without signing out of Google byĪdding a sign-out button or link to your site. Instead, send ID tokens, which can be securely validated Profile information to communicate the currently signed in user to your backend server. Important: Do not use the Google IDs returned by getId() or the user's Var profile = googleUser.getBasicProfile() Ĭonsole.log('ID: ' + profile.getId()) // Do not send to your backend! Use an ID token instead.Ĭonsole.log('Name: ' + profile.getName()) Ĭonsole.log('Image URL: ' + profile.getImageUrl()) Ĭonsole.log('Email: ' + profile.getEmail()) // This is null if the 'email' scope is not present. To retrieve profile information for a user, use the To create a Google Sign-In button that uses the default settings, add a divĮlement with the class g-signin2 to your sign-in page: Īfter you have signed in a user with Google using the default scopes, you canĪccess the user's Google ID, name, profile URL, and email address. Logo, and colors for the sign-in state of the user and the scopes you request. With only a few lines of code, you canĪdd a button that automatically configures itself to have the appropriate text, The easiest way to add a Google Sign-In button to your site is to use anĪutomatically rendered sign-in button. Note: You can also specify your app's client ID with the client_id parameter With the google-signin-client_id meta element. Specify the client ID you created for your app in the Google Developers Console You must include the Google Platform Library on your web pages that integrate (A client secret is alsoĬreated, but you need it only for server-side operations.) Load the Google Platform Library You will need the client ID to complete the next steps. Name your OAuth 2.0 client and click CreateĪfter configuration is complete, take note of the client ID that was created. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |