This add-on is deprecated since Nuxeo Platform 6.0.
When the Document Management module is installed on the Nuxeo Platform, it is possible to use Nuxeo gadgets in other applications, such as iGoogle.
This takes 2 steps, to make this work:
- your administrator must authorize the external application to access the Nuxeo Platform,
- you can add the Nuxeo gadget on the external application.
In this page, we will take the example of iGoogle, which is a pretty easy example. For more complex use cases, you can report to the page Using OAuth.
Authorizing an External Application to Access the Nuxeo Platform
Before users can use the Nuxeo Platform gadgets in another application, the administrator must authorize this application to access Nuxeo content.
To authorize external application to access Nuxeo Platform content:
- In the Admin Center tab, click on the OpenSocial / OAuth tab.
- Click on the Consumer tab.
- Click on the Add link. The form to add a new consumer is displayed.
- Fill in the form with the parameters below.
- Click on the Create button.
Google consumer parameters
Field | Parameter |
---|---|
Consumer Key | www.google.com |
Consumer Secret (HMAC Signature) | Leave empty |
Consumer Public Key (RSA Signature) |
-----BEGIN CERTIFICATE----- MIIDBDCCAm2gAwIBAgIJAK8dGINfkSTHMA0GCSqGSIb3DQEBBQUAMGAxCzAJBgNV BAYTAlVTMQswCQYDVQQIEwJDQTEWMBQGA1UEBxMNTW91bnRhaW4gVmlldzETMBEG A1UEChMKR29vZ2xlIEluYzEXMBUGA1UEAxMOd3d3Lmdvb2dsZS5jb20wHhcNMDgx MDA4MDEwODMyWhcNMDkxMDA4MDEwODMyWjBgMQswCQYDVQQGEwJVUzELMAkGA1UE CBMCQ0ExFjAUBgNVBAcTDU1vdW50YWluIFZpZXcxEzARBgNVBAoTCkdvb2dsZSBJ bmMxFzAVBgNVBAMTDnd3dy5nb29nbGUuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GN ADCBiQKBgQDQUV7ukIfIixbokHONGMW9+ed0E9X4m99I8upPQp3iAtqIvWs7XCbA bGqzQH1qX9Y00hrQ5RRQj8OI3tRiQs/KfzGWOdvLpIk5oXpdT58tg4FlYh5fbhIo VoVn4GvtSjKmJFsoM8NRtEJHL1aWd++dXzkQjEsNcBXwQvfDb0YnbQIDAQABo4HF MIHCMB0GA1UdDgQWBBSm/h1pNY91bNfW08ac9riYzs3cxzCBkgYDVR0jBIGKMIGH gBSm/h1pNY91bNfW08ac9riYzs3cx6FkpGIwYDELMAkGA1UEBhMCVVMxCzAJBgNV BAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUg SW5jMRcwFQYDVQQDEw53d3cuZ29vZ2xlLmNvbYIJAK8dGINfkSTHMAwGA1UdEwQF MAMBAf8wDQYJKoZIhvcNAQEFBQADgYEAYpHTr3vQNsHHHUm4MkYcDB20a5KvcFoX gCcYtmdyd8rh/FKeZm2me7eQCXgBfJqQ4dvVLJ4LgIQiU3R5ZDe0WbW7rJ3M9ADQ FyQoRJP8OIMYW3BoMi0Z4E730KSLRh6kfLq4rK6vw7lkH9oynaHHWZSJLDAp17cP j+6znWkN9/g= -----END CERTIFICATE----- |
Description | Leave empty |
Allow 2 legged auth | Leave default value. |
Callback URL | http://oauth.gmodules.com/gadgets/oauthcallback |
Allow OAuth verifier check bypass | Check "Yes". |
Enabled | Check "Yes". |
Adding the Nuxeo Gadget in the External Application
Add a Nuxeo gadget in an external application:
- In Nuxeo, go on your dashboard, available in the Home tab.
- Click on the Add gadget button.
Copy the URL of the gadget you want to use in iGoogle.
In the external application, add a new gadget that has the Nuxeo Platform gadget URL. On iGoogle:
- On iGoogle home, click on Add gadgets.
- On the gadget selection page, click on Add feed or gadget.
Paste the Nuxeo gadget URL and click on the Add button.
The Nuxeo gadget is now available from your iGoogle page. iGoogle is available in the "Authorized Applications" tab of your home, so you can set how long iGoogle can access the Nuxeo Platform content.