-
Notifications
You must be signed in to change notification settings - Fork 102
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
parametrize CallbackLogic in CallbackController #243
Comments
probably related to #242 because config is injected |
Generally, you only have one |
@leleuj The only reason we have only one In my current prod project, I've created a custom Actually the same logic for If you agree that we should be able to change the default logic I could prepare a pull-request. |
Yes, sure, we should be able to plug in a new |
…oller and LogoutController respectively
#243 Parametrize CallbackLogic and LogoutLogic for CallbackController and LogoutController respectively
For some reason org.pac4j.play.CallbackController has a hardcoded CallbackLogic:
Callback logic can be set in
org.pac4j.core.config.Config
:but it is not used.
It would be great to be able to parametrize the
callbackLogic
, parhaps to read it from config after it is injected.The text was updated successfully, but these errors were encountered: