Comments (10)
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.
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.
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.
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.
Thanks for your quick response, I really appreciate it!
from cakephp-tinyauth.
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.
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.
Yeah, order here can be important.
Let me know if we need to fix docs or code here.
from cakephp-tinyauth.
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.
Anything else missing?
from cakephp-tinyauth.
Related Issues (20)
- time remember user HOT 1
- Adding PHP, YAML, ... adapters? HOT 2
- Cake4 - Documentation suggestions HOT 3
- Missing TinyAuth role id field (Auth.User.user_role) in user session (CakePHP 4) HOT 4
- Cake 3.x Auth component mentioned in docs HOT 3
- Problem with multipleRoles option on HOT 5
- AuthPanel in DebugKit is not working HOT 2
- How to log in an User HOT 4
- Problem when using new Cakephp Authentication Plugin HOT 1
- Not getting the latest version with composer HOT 5
- Integration with authentication plugin and JWT HOT 3
- Incompatibility with CRUD plugin HOT 1
- Scoped Prefix Routing Bug HOT 4
- Fatal error : Public function getAuthorizationService HOT 2
- Authorization plugin and TinyAuth together HOT 3
- set config - authorization HOT 6
- auth_allow.ini not parsing route prefix HOT 11
- Vulnerability in laminas/laminas-diactoros HOT 1
- Read ID of Roles table from config HOT 3
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 cakephp-tinyauth.