Note that there are some explanatory texts on larger screens.

plurals
  1. POTrying to use Grails Spring Security Plugin + Facebook Connect to automatically create a user with default permissions on Authentication
    text
    copied!<p>I am working on an app that uses the Spring (Acegi) plugin for Grails. The plugin has facebook connect settings built in. I have followed the instructions to handle a facebook login within the app... however my knowledge of exactly whats going on is weak and what I really would like to do is give the user/visitor the option of either logging in and or registering on my app using their facebook account or create an account manually. I have roles that are setup in the app in the Spring Security plugin that are being bypassed using the facebook connect login option. Where can I intercept the login action in the Spring Security plugin to inject my own custom code to create the new user within the app if he/she doesnt exist. </p> <p>My hope is that if they choose to create an account using facebook.. my app will create a corresponding account for the facebook user with default permissions. When the person logs in, permissions are set and authentication is required to access certain content. </p> <p>I found a way of handling this using the Shiro Security plugin here:</p> <p><a href="http://sacharya.com/facebook-connect-with-jsecurity-on-grails/" rel="nofollow noreferrer">http://sacharya.com/facebook-connect-with-jsecurity-on-grails/</a></p> <p>I also stumbled upon Nimble. However, I really like Spring Security, could just be a comfort thing and maybe its time for me to try Shiro with Nimble.. I dont know. </p> <p>I hope this makes sense. I appreciate any direction in making this happen. </p> <p>Best Mike</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload