Hi, folks.
I was wondering if I could use Basic and Form Authentication simultaneously in the same app, since the app has an admin section, and will be used as an API at the same time. I read in the Book that one can use multiple authentication providers at the same time, but does that actually work? I've tried implementing the example on the book, but my pages always end up asking BasicAuth even when there's an actual view for FormAuth already in place.
I also noticed one thread in this group asking a similar question, although his concern is to make Basic and Form authentication work simultaneously AND use two different User tables. In my case, I just need to use a single User table for logging into the web app using FormAuth, and authenticating API calls using BasicAuth. I'm currently using the 2.4 series for this particular project.
Thanks in advance. :)
-- I was wondering if I could use Basic and Form Authentication simultaneously in the same app, since the app has an admin section, and will be used as an API at the same time. I read in the Book that one can use multiple authentication providers at the same time, but does that actually work? I've tried implementing the example on the book, but my pages always end up asking BasicAuth even when there's an actual view for FormAuth already in place.
I also noticed one thread in this group asking a similar question, although his concern is to make Basic and Form authentication work simultaneously AND use two different User tables. In my case, I just need to use a single User table for logging into the web app using FormAuth, and authenticating API calls using BasicAuth. I'm currently using the 2.4 series for this particular project.
Thanks in advance. :)
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment