Giter VIP home page Giter VIP logo

Comments (10)

dereuromark avatar dereuromark commented on May 28, 2024 1

I started https://github.com/dereuromark/auth-demo
Maybe you can make a branch with your current setup added into it?
And then we can figure out what goes wrong here.

And please use #118 as it contains an Authentication data load fix.

from cakephp-tinyauth.

dereuromark avatar dereuromark commented on May 28, 2024 1

Done in https://github.com/dereuromark/cakephp-tinyauth/releases/tag/3.0.1
But yeah I think there might be a bit more issues popping up. I can always merge and release more patches, though.

from cakephp-tinyauth.

dereuromark avatar dereuromark commented on May 28, 2024

You are not using it as documented.
Make sure you use TinyAuth here primarily, and as the docs suggest.
There are classes in there that overwrite the plugin code
As such, you also don't have to load the other two plugins even and it should still work
See https://github.com/dereuromark/cakephp-tinyauth/blob/master/docs/AuthorizationPlugin.md etc

from cakephp-tinyauth.

dereuromark avatar dereuromark commented on May 28, 2024

It is possible that the docs changed a bit during the 4.x upgrade.
Then we would have to fix it - piece by piece.
Feel free to make PRs here where something needs adjusting.

We can also set up a small demo auth app together, and see if we can figure it out.

from cakephp-tinyauth.

marianodonal avatar marianodonal commented on May 28, 2024

Thanks for your quick response, I really appreciate it!

from cakephp-tinyauth.

dereuromark avatar dereuromark commented on May 28, 2024

Did you have a chance to look into that demo repo and see if you can reproduce your case?
So we can try to find a fix?

from cakephp-tinyauth.

marianodonal avatar marianodonal commented on May 28, 2024

Hi Mark, I copied the Application.php code into my application and everything seems to be working fine. The only difference I noticed is that RoutingMiddleware loads after Auths, could that be the issue?

from cakephp-tinyauth.

dereuromark avatar dereuromark commented on May 28, 2024

Yeah, order here can be important.
Let me know if we need to fix docs or code here.

from cakephp-tinyauth.

LubosRemplik avatar LubosRemplik commented on May 28, 2024

Could you bump version for cake4, 3.0.0 does not include changes you did in #118 and would be better than use master branch?

Thanks

from cakephp-tinyauth.

dereuromark avatar dereuromark commented on May 28, 2024

Anything else missing?

from cakephp-tinyauth.

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.