Giter VIP home page Giter VIP logo

Comments (8)

victornoel avatar victornoel commented on June 22, 2024

@htamas I see you are using afterburner, could you disable it and see if it solves the problem?

from dropwizard-pac4j.

leleuj avatar leleuj commented on June 22, 2024

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.

htamas avatar htamas commented on June 22, 2024

@leleuj That's what I tried first, but I couldn't configure the CookieClient from clientProperties.

from dropwizard-pac4j.

victornoel avatar victornoel commented on June 22, 2024

@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.

htamas avatar htamas commented on June 22, 2024

@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.

victornoel avatar victornoel commented on June 22, 2024

@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.

leleuj avatar leleuj commented on June 22, 2024

@htamas yes, the CookieClient cannot be configured by properties: something we should add in the pac4j-config module...

from dropwizard-pac4j.

victornoel avatar victornoel commented on June 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.