The redirect_uri is different for every installation of a raplet by a
user — this is an important part of keeping the protocol secure!
(Without it you would be able to get a user to install a raplet, by
just sending their browser to the magic URL)
All the Oauth services I've written integrations with before have
allowed me to pass a custom callback url to each request — it gets a
bit convoluted, but you can normally ask the external service to use a
callback url that itself has a redirect_uri parameter. For example:
We send the user to:
• https://ryan-huff.example.org/raplet?redirect_uri=https://rapportive.com/raplets/blah-di
Then you redirect to:
And the external oauth redirects back to:
• https://ryan-huff.example.org/callback?redirect_uri=https://rapportive.com/raplets/blah-di
Then (finally!) you redirect back to:
• https://rapportive.com/raplets/blah--di
Would that work for you?
Failing that, cookies do work (just about), but it's a bit ugly.
Conrad
Rapportive
> --
> You received this message because you are subscribed to the Google
> Groups "Raplet developer discussion list" group.
> To post to this group, send email to raple...@googlegroups.com
> To unsubscribe from this group, send email to
> raplet-dev+...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/raplet-dev?hl=en
>