# Compliant Google Login Button

**URL:** https://meta.discourse.org/t/compliant-google-login-button/99276
**Category:** Theme component
**Tags:** deprecated
**Created:** [October 11, 2018, 11:42am UTC](https://meta.discourse.org/t/compliant-google-login-button/99276 "2018-10-11T11:42:35Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)
#### Post date: [October 11, 2018, 11:42am UTC](https://meta.discourse.org/t/compliant-google-login-button/99276/1 "2018-10-11T11:42:35Z")

</div>

This is very a small theme component that will modify the Google login button to use a compliant image instead of the default Font Awesome Google Icon.

## Before

 ![before](https://global.discourse-cdn.com/meta/original/3X/9/d/9d56ffb079941fa30dca7655014b9d43700fb7fe.png)

## After

 ![after](https://global.discourse-cdn.com/meta/original/3X/8/c/8cf99f48a1198f7dfa581b7d609682c3170c2248.png)

# Purpose

More details on why you may need this component can be found in the following topic:

> [@Not compliant with google signin branding requirements](https://meta.discourse.org/t/not-compliant-with-google-signin-branding-requirements/99177):
>
> Setting up OAUTH for google, and they have advised that they cannot allow the request because the sign in image is not compliant with their branding requirements: The Google sign-in button on your project’s homepage URL is not compliant with the Google sign-in branding guidelines. Please update the Google sign-in button on your website according to Google sign-in branding guidelines. Thank you for your patience. Please reply back to this email after your project is in compliance with the req…

# Installation

[Repository Link](https://github.com/tshenry/discourse-compliant-google-login-button)  
`https://github.com/tshenry/discourse-compliant-google-login-button.git`

If you are new to installing theme components, check out this [excellent guide](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) on theme components, particularly [how to import a theme component](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966#heading--2-4) and [how to add the theme component to your main theme](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966#heading--2-5).

Please let me know how it goes @dobbo!

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [October 12, 2018, 12:17am UTC](https://meta.discourse.org/t/compliant-google-login-button/99276/2 "2018-10-12T00:17:27Z")

</div>

Thank you for this 🤗 .. we’ll need to see how often this crops up in our brave new world of Google+ meeting its slow final demise over the next 10 months.

edit: looks like this hit the rule of 3️⃣ so we should probably make this the new default for that button, no plugin required, default on all Discourse instances .. can you take it @Johani?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [July 2, 2019, 2:01pm UTC](https://meta.discourse.org/t/compliant-google-login-button/99276/3 "2019-07-02T14:01:19Z")

</div>

We’re compliant by default now
