Browse Source

[openid_connect] Warning

v12_initial_fix
Maciej Wawro 6 years ago
parent
commit
5f7f206e57
  1. 3
      galicea_openid_connect/__manifest__.py
  2. BIN
      galicea_openid_connect/static/description/images/error_screenshot.png
  3. 6
      galicea_openid_connect/static/description/index.html

3
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'
]
}

BIN
galicea_openid_connect/static/description/images/error_screenshot.png

After

Width: 574  |  Height: 201  |  Size: 21 KiB

6
galicea_openid_connect/static/description/index.html

@ -69,6 +69,12 @@ Now, the users of <tt>client.odoo.com</tt> will be able to login using new <tt>L
<img class="oe_picture oe_screenshot" src="images/login_screenshot.png" />
In case they are already logged into <tt>master.odoo.com</tt>, all they need to do is to click it. Otherwise, they will be redirected to <tt>master.odoo.com</tt> to provide their credentials.
<div class="alert alert-danger" role="alert">
<b>Warning!</b> The user of <tt>master.odoo.com</tt> will not be able to log into <tt>client.odoo.com</tt> if there already is a regular account with the same e-mail address in <tt>client.odoo.com</tt>. In that case you will see this message:
<img class="oe_picture oe_screenshot" src="images/error_screenshot.png" />
</div>
<h2>Creating JSON APIs with OAuth2 authorization</h2>
<p>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.</p>
<p>You can create such API in a way that is similar to creating regular Odoo controllers:</p>

Loading…
Cancel
Save