7d16eb9619
Unsplash CEO asked us to stop exposing our key client side (even if it was only in the browser network and allowed by Unsplash API team leader). Also, all our Odoo instance, on premise or not should share the same production key, which is not possible for us obviously. After multiple exchange, it has been negociated that: 1. Our non saas user won't be able to apply for a production key and should prefix they Unsplash application name by 'Odoo:'. Their key will remain in test mode. Indeed, Unsplash won't be able to review every Odoo application and ensure it respects the API terms and it is a real application. 2. Our saas user will query Unsplash server side so the key remain hidden. 3. The documentation should explain it all
21 lines
1.1 KiB
ReStructuredText
21 lines
1.1 KiB
ReStructuredText
=======================================================
|
|
How to generate an Unsplash application ID
|
|
=======================================================
|
|
|
|
.. tip::
|
|
You should first create and set up your Unsplash application with this tutorial: `How to generate an Unsplash access key <https://www.odoo.com/documentation/user/unsplash_access_key.html>`_.
|
|
|
|
- Go to your `applications dashboard <https://unsplash.com/oauth/applications>`_ and click on your newly created Unsplash application under **Your applications**.
|
|
|
|
.. image:: media/select_app.png
|
|
:align: center
|
|
|
|
- You will be redirected to your application details page. The **application ID** will be visible in your browser's URL. The URL should be something like ``https://unsplash.com/oauth/applications/application_id``
|
|
|
|
.. image:: media/app_id_url.png
|
|
:align: center
|
|
|
|
- Note that if you `apply for a production account <https://unsplash.com/documentation#registering-your-application>`_ and it got approved, your will also find your application ID in the UI. It will be listed next to your **Access Key** on your application details page.
|
|
|
|
.. image:: media/production_account.png
|
|
:align: center |