On 02/04/2011, at 5:41 AM, Peter van Hardenberg wrote:
> Heroku doesn't support passing parameters through a provisioning call at the moment, but that's something we've certainly discussed adding. What about using the SSO page, or an environment variable on the app? How would the user reconfigure the addon once it is provisioned if they pass the phone number at provision-time?
> Feels to me like the SSO page is a good fit.
Yes, I have implemented the SSO interface. The whole thing is ready to alpha test once I get my head around this problem.
> I believe you can include a provisioning-time message to the user that could say something like "Your app is now being monitored and will send notifications to <owner_email>. To configure additional notification channels, use the dashboard at <sso url>."
Exactly what I want. Where or how do I get that "owner_email" from?
If I get an owner_email somehow, then I can group multiple beginner sites together and provide the user with a single interface to monitor all their sites.
> I'd definitely be happy to alpha-test the addon for some of my apps...
Great, I'll put you down for the Alpha :)
Mikel
You can get the owner email - I'm pretty certain this only works *after* you've responded to the provisioning request from Heroku:
http://groups.google.com/group/heroku-add-on-providers/browse_thread/thread/87d117d69af42233
So you'll probably need some two-step process of setting it up and then attaching it to an existing user if appropriate. I wouldn't use Exceptional as an example - their approach also includes installing a plug-in, and Heroku's not supporting that level of interaction for new add-ons.
Cheers
--
Pat
Perfect, thanks. I saw that in the docs, but could not see if it was the client data it was returning.
> So you'll probably need some two-step process of setting it up and then attaching it to an existing user if appropriate. I wouldn't use Exceptional as an example - their approach also includes installing a plug-in, and Heroku's not supporting that level of interaction for new add-ons.
Yup, sorted.
Thanks :)
Mikel