8000 [IMP] unsplash: new guidelines negociated with Unsplash · dep-odoo/documentation-user@7d16eb9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7d16eb9

Browse files
committed
[IMP] unsplash: new guidelines negociated with Unsplash
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
1 parent 09096b2 commit 7d16eb9

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

general/unsplash/unsplash_access_key.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
How to generate an Unsplash access key
33
=======================================================
44

5+
.. tip::
6+
**As a SaaS user**, Unsplash is ready to use. You won't need to follow this guide to set up Unsplash informations as you will use our own Odoo Unsplash key in a transparent way.
7+
8+
Generate an Unsplash access key for **non-Saas** users
9+
======================================================
10+
511
- Create an account on `Unsplash.com <https://unsplash.com/join>`_.
612

713
- Go to your `applications dashboard <https://unsplash.com/oauth/applications>`_ and click on **New Application**.
@@ -14,7 +20,7 @@ How to generate an Unsplash access key
1420
.. image:: media/accept_terms.png
1521
:align: center
1622

17-
- You will be prompted to insert an **Application name** and a **Description**. Once done, click on **Create application**.
23+
- You will be prompted to insert an **Application name** and a **Description**. Please prefix your application name by "**Odoo: **" so it can be recognized as an Odoo instance by Unsplash. Once done, click on **Create application**.
1824

1925
.. image:: media/app_infos.png
2026
:align: center
@@ -24,3 +30,5 @@ How to generate an Unsplash access key
2430
.. image:: media/access_key.png
2531
:align: center
2632

33+
.. warning::
34+
**As a non-SaaS user**, you won't be able to register for a production Unsplash key and will be limited to your test key that has a 50 Unsplash requests per hour restriction.

general/unsplash/unsplash_application_id.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
How to generate an Unsplash application ID
33
=======================================================
44

5-
- 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>`_.
5+
.. tip::
6+
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>`_.
67

78
- Go to your `applications dashboard <https://unsplash.com/oauth/applications>`_ and click on your newly created Unsplash application under **Your applications**.
89

0 commit comments

Comments
 (0)
0