Calling Callback URL during provisioning

67 views
Skip to first unread message

Michael Hunger

unread,
Nov 14, 2011, 8:26:42 PM11/14/11
to heroku-add-...@googlegroups.com
Is it possible to call the callback URL during the provisioning process?

We would like to create/link the-user-account (with the user-email) in our backend, but unfortunately the user-email is not provided with the provisioning data.

When we call the callback later it returns the data but during provisioning we get a 404.

Cheers

Michael

glenn gillen

unread,
Nov 15, 2011, 6:05:20 AM11/15/11
to Heroku Add-on Providers
Michael,

You won't be able to call the callback URL until *after* successfully
returning us a provisioning response, until that point you won't have
been granted permission on the app.

Can you clarify why exactly you need to match the user email and can't
use the Heroku ID? If a user changes their email address or an app
changes owner the email address returned from the API will also
change, which would cause your own records to fall out of sync. I'd
like to understand the various cases where this information is
required so we can try and accomodate it better.

Thanks,

Glenn
Reply all
Reply to author
Forward
0 new messages