Hello All,
On Foxycart 051, can someone point us in the right direction on using Foxycart's authentication mechanism to log a user into our website, and check if they are a recurring donor.
The idea is to setup a password-protected membership page for recurring donors, and we are trying to use Foxycart to piggy back the authentication & authorization.
Thanks
Are you looking to hire a developer?
Thanks for your replies.
I am after a simple authentication described by Brett. We do not yet have interest in full fledged SSO.
Here is a requirement:
- Any user who is currently an active recurring donor should be able to login using their Foxycart login/password (we do not allow guest checkouts).
Also - could you please tell me where to apply for the API key?
Thanks again
Or you mean you want to use the FoxyCart system to authenticate for something _else_? That's what I thought you meant, but I should make sure.
The issue with that is this: What are you actually giving them access to? At some point you need to have the users exist on your database, so you can display their user-specific info, right? So is the solution to actually authenticate against the FoxyCart system? Or to just create and sync users from FoxyCart to your own system?
Brett, yes, the idea is to authenticate the users with FoxyCart to give them access to something else (basically, giving some additional downloadable content as gifts to recurring donors).
Our need is pretty simple for now, and we do not foresee it turning into a big SSO anytime soon.
First, if you don't want the XML datafeed, just uncheck the box. You can still set your API key.
Second, if you want to just use the FoxyCart authentication as a sort of OpenID approach, you'd have to see how the checkout's doing it and basically piggyback that. If your needs are relatively straightforward you could just do it all by javascript and set an authenticated cookie upon successful authentication. It definitely wouldn't be a good solution for more advanced stuff, but for what it sounds like you're describing it'd be a pretty slick little approach.