Maybe you could ask LunarDraco about this, as he seems to have done something similar or something that may help you, see thread: http://groups.google.com/group/cake-php/browse_thread/thread/074cfa5a883df881
[snippet] > > CakeBaker: any chance you've got plans to update your Component? > No, there are no plans to integrate support for RPX into the OpenID > component, because support for a proprietary API doesn't fit to the > current functionality of the OpenID component. I think it is better to > put the RPX functionality into its own component. After I sent the message to the group I implemented RPXnow last night and I agree with you completely in this doesn't belong or fit well with your component. Actually I'm not sure it even requires its own component. There is so very little code to make it work and to integrate it into your existing users I think a clean example would be more useful. [/snippet] Enjoy, John On Jan 18, 12:01 pm, Laurent Kretz <[email protected]> wrote: > Hi all, > > Noob (conceptual) question here: I'm implementing RPX on my app. > The workflow is this: > - user clicks on "sign in" from an element in the header > - RPX does its magic and callbacks a script on my site > - this script checks if the user exists in my db, if not redirects to > a "complete your profile" page, otherwise to the homepage with the > user logged in. > > So basically, I have: > - an element that displays the sign in link or the logged on user > info, > - the rpx callback script > - a standard profile page. > > My question is about the script: I thought i would put the script in a > view file that corresponds to a controller rpx function. > example.com/user/rpx > > Is that the right way to go or should i place the script in the > webroot (example.com/rpx.php) ? If so, how can I call functions from > the users_controller ? > > Thx !
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
