Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7658143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:09:47+00:00 2026-05-31T13:09:47+00:00

I started looking at this plugin for facebook integration in grails 2.0 apps. I

  • 0

I started looking at this plugin for facebook integration in grails 2.0 apps. I ran through he setup instructions listed and got a sample app working….for the most part.

I’m having problems fleshing out FacebookAuthDaoImpl which implements the interface FacebookAuthDao. Now I know this class is supposed to be configured to match the apps domain structure, but for a sample app with no out-of-the-ordinary domain settings what would be an appropraite implementation of this interface?

What I’m trying to achieve is when a facebook user is created, a spring security user should also be created and they both be associated.

Edit:

After running s2-init-facebook and getting the generated FacebookAuthDaoImpl.
I executed run-app and then I get an error roles in getRoles() of the generated impl.

No such property: roles for class: com.gotomanners.auth.FacebookUser

I fixed this by adding

roles = [new GrantedAuthorityImpl('ROLE_USER'), new GrantedAuthorityImpl('ROLE_FACEBOOK')]

The app starts fine now and I can click the fbConnect button which connects to facebook fine but on returning to the app there is no facebookUser or regular user in the DB …. which is why I went on to look at using createAppUser() from DefaultConnectedFacebookAuthDaoImpl

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:09:48+00:00Added an answer on May 31, 2026 at 1:09 pm

    This plugin has since been updated(0.6.2 at this time of writing) and this issue is now resolved!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I started out looking at the JAX-RS plugin for grails and thought that was
How would you test this scenario? I've just started looking into NHibernate and having
I Just started looking at this technology , but i am finding it hard
I was getting bored so I started looking a little into Cryptography. I got
This has been an adventure. I started with the looping duplicate query located in
I started looking at Silverlight.FX by Nikhil Kothari to replace Prism/Unity with our Silverlight
I have recently started looking into Google Charts API for possible use within the
When I first started looking into Rails and Django I was steered away from
I've started looking into a few larger server-app frameworks that would be able to
When I first started looking at Scala, I liked the look of for-comprehensions. They

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.