Comments (14)
Btw, I just extracted the UserService.Service to its own file and this seems to fixes it. At least with my fork of securesocial I can run my application tests now with this change.
from securesocial.
I know this is a bigger change, as it affects users that are already using securesocial with the UsernamePasswordProvider, but it would be great to have this in the next release (assuming that you can confirm the issue and solution).
from securesocial.
Martin, thanks for the report and suggested fix. Will try to figure out what's causing the problem. Give me some time as I am really busy trying to meet a deadline on project.
from securesocial.
This looks like a problem in the Enhancer rather than in SecureSocial itself. It looks like it is getting confused by the inner class.
from securesocial.
Yes, I agree. But chances that it's fixed and the fix/workaround is released in the not-too-far-future is bigger here than with play core ;-)
from securesocial.
This issue also caught me in my CI build but i've taken a slightly different approach to solve. In my fork I've added the ability to specify the UserService class as a property, this is then instantiated via Reflection rather than searching classpath.
The property is optional so would be backward compatible with all current users. I don't have any preference for this over the already discussed solution here but just raising it for reference.
from securesocial.
Has anyone tried taking the inner class out and putting it in its own file?
from securesocial.
Jorge, I just broke the inner class out into its own file and that fixed the problem for me. Magro mentioned earlier in this thread that he did the same thing.
from securesocial.
Ah sorry. Replied without reviewing the whole thread. We can either take it out of take @timrwilliams approach. Will test with the latest Play 1 version.
from securesocial.
Hey, I also just stumbled over this bug with play 1.2.4 and 1.2.5-rc4... any updates here?
from securesocial.
This should not happen anymore thanks to @magro's pull request.
from securesocial.
Great! Are you going to make a new release?
from securesocial.
Yes, I tried to do it yesterday but bumped into a problem with the modules page. I sent an email asking. Once that is solved I'll publish it.
Did you see my note about renaming the interface?
from securesocial.
Great, thanx! Yes, I saw your note regarding the renaming, fine.
from securesocial.
Related Issues (20)
- Build breaks after new release. HOT 3
- Security: password reset email host injection HOT 2
- v3.0-M7 play2.5 HOT 4
- Facebook oauth token format change causes error (suspected) HOT 3
- Getting weird issue with email sending
- Inconsistent error from Facebook Sign-in
- Ready-made Backend
- compatible HOT 2
- Control the number of rest API calls with securesocial HOT 1
- Support Play 2.6 HOT 2
- scala 2.12 HOT 1
- After hitting the /logout api, Session is not getting cleared it is only redirecting to login_page. And i am able to login again with the same token id HOT 1
- Add cookie SameSite HOT 1
- Can't use with Scala 2.12 HOT 4
- Ambiguous implicit values HOT 1
- Action Not Found For request 'GET /authenticate/github? HOT 1
- Documentation has not been update for play 2.6
- push secure social jar with support for play 2.6 to maven
- NoSuchFieldError: state (facebook provider error) HOT 1
- Looking for a maintainer?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from securesocial.