diff --git a/galicea_openid_connect/__manifest__.py b/galicea_openid_connect/__manifest__.py index 0637b4e..1508984 100644 --- a/galicea_openid_connect/__manifest__.py +++ b/galicea_openid_connect/__manifest__.py @@ -45,6 +45,7 @@ 'images': [ 'static/description/images/master_screenshot.png', 'static/description/images/client_screenshot.png', - 'static/description/images/login_screenshot.png' + 'static/description/images/login_screenshot.png', + 'static/description/images/error_screenshot.png' ] } diff --git a/galicea_openid_connect/static/description/images/error_screenshot.png b/galicea_openid_connect/static/description/images/error_screenshot.png new file mode 100644 index 0000000..38c6239 Binary files /dev/null and b/galicea_openid_connect/static/description/images/error_screenshot.png differ diff --git a/galicea_openid_connect/static/description/index.html b/galicea_openid_connect/static/description/index.html index 366e1e6..9cd3a15 100644 --- a/galicea_openid_connect/static/description/index.html +++ b/galicea_openid_connect/static/description/index.html @@ -69,6 +69,12 @@ Now, the users of client.odoo.com will be able to login using new L In case they are already logged into master.odoo.com, all they need to do is to click it. Otherwise, they will be redirected to master.odoo.com to provide their credentials. + + +

Creating JSON APIs with OAuth2 authorization

Along with the ID token, it's possible for the OpenID Connect Client to request access token, that can be used to authorize access to a custom JSON API.

You can create such API in a way that is similar to creating regular Odoo controllers: