Comments (8)
@htamas I see you are using afterburner, could you disable it and see if it solves the problem?
from dropwizard-pac4j.
I can also recommend to use the clientProperties
as it works in that case: https://github.com/pac4j/dropwizard-pac4j-demo/blob/master/demo-config.yml#L35
from dropwizard-pac4j.
@leleuj That's what I tried first, but I couldn't configure the CookieClient from clientProperties
.
from dropwizard-pac4j.
@htamas I think the whole "configuration via the yml file" does not work very well... it seemed a good idea at first, but I don't even use it myself.
I prefer to configure this kind of things programmatically, and put what I want to be configurable in a custom dropwizard configuration that I use to setup pac4j in my code.
from dropwizard-pac4j.
@victornoel I'm glad you've come to that conclusion, I find it quite cumbersome too. It's not a bad idea tho, but the way it works now can be demotivating to use.
On your previous comment: I don't know how to disable afterburner, as I've set this example up in the demo project linked in this repo.
from dropwizard-pac4j.
@htamas don't worry about afterburner, there should be no link then.
I'm going to keep this open for now and I will see what can be done about this kind of situation, maybe some easy workaround or something like that for people that insists on using the configuration for setting up pac4j.
from dropwizard-pac4j.
@htamas yes, the CookieClient
cannot be configured by properties: something we should add in the pac4j-config
module...
from dropwizard-pac4j.
I'm closing this.
@htamas feel free to reopen an issue in the pac4j repository instead of this one :)
from dropwizard-pac4j.
Related Issues (20)
- Dependency Dashboard
- Provide better configuration options
- Introduce healthchecks for external runtime dependencies such as identity providers HOT 3
- Usage with ResourceTestRule HOT 10
- version number (2.0.1 -> 2.1.0) HOT 1
- Stateless session handling? HOT 1
- Authorizer Headers are not carried through to Response HOT 10
- saml.keyStoreAlias seems to be ignored HOT 2
- Publishing 3.0-RC1 HOT 16
- Dropwizard 3 support HOT 7
- Dropwizard Application doesn't start when used with Guice HOT 8
- Applying AlwaysUseSessionProfileStorageDecision for direct client HOT 2
- Cannot inject "Pac4jProfile" in a "@ScopedRequest" ressource HOT 1
- excludePath example uses deprecated class HOT 1
- Pac4j-SAML with Dropwizard-pac4j version compatibility HOT 9
- Not compatible with dropwizard 2 HOT 15
- What's the correct format for excludedPaths? HOT 1
- NoClassDefFoundError: org/glassfish/jersey/server/internal/inject/AbstractContainerRequestValueFactory HOT 1
- Can no longer use regex strings for ExcludedPaths HOT 1
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 dropwizard-pac4j.