-
Mar 12th, 2012, 10:42 PM
#1
Autologin after user registration
Is it possible?. I want to call an API to create an account (with user and password), and retrieve the token session information.
I've seen some examples with security, but nothing than include oauth.
Any hint?
Thanks
-
Mar 15th, 2012, 05:52 AM
#2
I suppose there's nothing to stop you doing that (e.g. for a hard-coded default scope), but since there is no user regsitration feature per se in Spring Security, you must be writing it yourself. Your registration handler could grab a token for the new user and render it. This seems like an auth server feature so the TokenGranter would be the right place to get a token.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules