flâneur — a map of the web's best reading

Display the Sign In With Google button  |  Authentication  |  Google for Developers

developers.google.com · 1,211 words · saved by 1 readers

Add a Sign In With Google button to your site to enable users to sign-up or sign-in to your web app. Use either HTML or JavaScript to render the button and attributes to customize the button shape, size, text, and theme. After a user selects a Google Account and provides their consent, Google shares the user profile using a JSON Web Token (JWT). For an overview of the steps involved during sign-in and user experience see How it works. Understand the personalized button reviews the different conditions and states affecting how the button is displayed to users. Complete the following before adding the button to your login page: To display the Sign In With Google button, you may choose either HTML or JavaScript to render the button on your login page: Render the sign-in button using HTML, returning the JWT to your platform's login endpoint. An element with a g_id_signin class renders as a Sign In With Google button. The button is customized by the parameters provided in the data attribute

Home Products Google Identity Web guides Sign in with Google for Web Send feedback Display the Sign In With Google button Stay organized with collections Save and categorize content based on your preferences. Page Summary outlined_flag The Sign In With Google button allows users to sign-up or sign-in to a web app using either HTML or JavaScript for rendering and customization. After a user provides consent, Google shares their profile information in a JSON Web Token (JWT). You can choose between HTML or JavaScript to render the button and handle the returned credential. The button language can

Explore this link on the map →

saved by

related reading