BenjaminFavre / keycloak-apple-social-identity-provider

Apple Social Identity Provider for Keycloak
Apache License 2.0
108 stars 53 forks source link

How to add Apple logo to the identity provider? #17

Closed kristianbendren closed 2 years ago

kristianbendren commented 2 years ago

Hi, i got this to work but have no Apple logo. Is this possible to add somehow?

BenjaminFavre commented 2 years ago

Hi, You’ll have to extend the theme you use to add the asset, I can’t do this from the provider. Note that Apple is very restrictive on the way you display their logo, you will have to use the exact button image you’ll find on their guidelines. Otherwise, you app submission to the appstore will be rejected.

kristianbendren commented 2 years ago

Hi Bejamin, can you guide us a bit more where in the theme we should add it. We have seperate themes today but just need guidance on this.

The identity Provider is named apple in keycloak

I guess we need to add some CSS and that we can figure out but we dont know where to add it exactly in the theme.

Thanks!

stefanwendelmann commented 2 years ago

Rewrite this from apple to appstore in the class and it works. I did not figure out how exactly it outputs apple here but this is maybe a begin:

https://github.com/smcllns/css-social-buttons/blob/master/src/appstore.svg

image

image

kristianbendren commented 2 years ago

Thx there was already a predefined css class so i just added it and it works. Thx!