Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cutomize facebook button #76

Open
dsr301 opened this issue Nov 6, 2014 · 1 comment
Open

Cutomize facebook button #76

dsr301 opened this issue Nov 6, 2014 · 1 comment

Comments

@dsr301
Copy link

dsr301 commented Nov 6, 2014

Hi ,

I have the below configuration.

Faceboook button that i get is small and i want to customize it . Please let me know the process.

compile "org.grails.plugins:spring-security-facebook:0.15.3-CORE2"
and i have the below configuration:

grails.plugin.springsecurity.facebook.domain.classname='com.fito.FacebookUser'
grails.plugin.springsecurity.facebook.appId=
grails.plugin.springsecurity.facebook.secret=
grails.plugin.springsecurity.facebook.filter.type='transparent'
grails.plugin.springsecurity.userLookup.usernamePropertyName='email'
grails.plugin.springsecurity.logout.postOnly = false
grails.plugin.springsecurity.logout.redirectToReferer = true

Thanks in advance
-Suman

@mxgross
Copy link

mxgross commented Nov 17, 2015

You should be able to style it by yourself with CSS. You can overwrite the defined style. Alternatively you can manually create your Facebook Login button e.g:

<g:link uri="/j_spring_security_facebook_redirect" class="my-own-fb-btn-class">Login with Facebook
</g:link>

And use the "my-own-fb-btn-class" class to style via CSS

Hope this is what you were looking for.
Greetings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants