Skip to content

Commit

Permalink
[UPD] README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Feb 20, 2023
1 parent f444b9a commit a389b34
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 28 deletions.
28 changes: 14 additions & 14 deletions auth_oidc/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ Example configuration with OpenID Connect implicit flow.
This configuration is not recommended because it exposes the access token
to the client, and in logs.

# configure a new web application in Azure with OpenID and implicit flow (see
the `provider documentation
<https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-provider)>`_)
# in this application the redirect url must be be "<url of your
server>/auth_oauth/signin" and of course this URL should be reachable from
Azure
# create a new authentication provider in Odoo with the following
parameters (see the `portal documentation
<https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-settings>`_
for more information):
1. configure a new web application in Azure with OpenID and implicit flow (see
the `provider documentation
<https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-provider)>`_)
2. in this application the redirect url must be be "<url of your
server>/auth_oauth/signin" and of course this URL should be reachable from
Azure
3. create a new authentication provider in Odoo with the following
parameters (see the `portal documentation
<https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-settings>`_
for more information):

* Provider Name: Azure
* Auth Flow: OpenID Connect
Expand All @@ -80,10 +80,10 @@ Example configuration with OpenID Connect authorization code flow.

In Keycloak:

# configure a new Client
# make sure Authorization Code Flow is Enabled.
# configure the client Access Type as "confidential" and take note of the client secret in the Credentials tab
# configure the redirect url to be "<url of your server>/auth_oauth/signin"
1. configure a new Client
2. make sure Authorization Code Flow is Enabled.
3. configure the client Access Type as "confidential" and take note of the client secret in the Credentials tab
4. configure the redirect url to be "<url of your server>/auth_oauth/signin"

In Odoo, create a new Oauth Provider with the following parameters:

Expand Down
30 changes: 16 additions & 14 deletions auth_oidc/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -410,16 +410,16 @@ <h2><a class="toc-backref" href="#id6">Setup for Microsoft Azure</a></h2>
<p>Example configuration with OpenID Connect implicit flow.
This configuration is not recommended because it exposes the access token
to the client, and in logs.</p>
<dl class="docutils">
<dt># configure a new web application in Azure with OpenID and implicit flow (see</dt>
<dd>the <a class="reference external" href="https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-provider)">provider documentation</a>)</dd>
<dt># in this application the redirect url must be be “&lt;url of your</dt>
<dd>server&gt;/auth_oauth/signin” and of course this URL should be reachable from
Azure</dd>
<dt># create a new authentication provider in Odoo with the following</dt>
<dd>parameters (see the <a class="reference external" href="https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-settings">portal documentation</a>
for more information):</dd>
</dl>
<ol class="arabic simple">
<li>configure a new web application in Azure with OpenID and implicit flow (see
the <a class="reference external" href="https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-provider)">provider documentation</a>)</li>
<li>in this application the redirect url must be be “&lt;url of your
server&gt;/auth_oauth/signin” and of course this URL should be reachable from
Azure</li>
<li>create a new authentication provider in Odoo with the following
parameters (see the <a class="reference external" href="https://docs.microsoft.com/en-us/powerapps/maker/portals/configure/configure-openid-settings">portal documentation</a>
for more information):</li>
</ol>
<ul class="simple">
<li>Provider Name: Azure</li>
<li>Auth Flow: OpenID Connect</li>
Expand All @@ -435,10 +435,12 @@ <h2><a class="toc-backref" href="#id6">Setup for Microsoft Azure</a></h2>
<h2><a class="toc-backref" href="#id7">Setup for Keycloak</a></h2>
<p>Example configuration with OpenID Connect authorization code flow.</p>
<p>In Keycloak:</p>
<p># configure a new Client
# make sure Authorization Code Flow is Enabled.
# configure the client Access Type as “confidential” and take note of the client secret in the Credentials tab
# configure the redirect url to be “&lt;url of your server&gt;/auth_oauth/signin”</p>
<ol class="arabic simple">
<li>configure a new Client</li>
<li>make sure Authorization Code Flow is Enabled.</li>
<li>configure the client Access Type as “confidential” and take note of the client secret in the Credentials tab</li>
<li>configure the redirect url to be “&lt;url of your server&gt;/auth_oauth/signin”</li>
</ol>
<p>In Odoo, create a new Oauth Provider with the following parameters:</p>
<ul class="simple">
<li>Provider name: Keycloak (or any name you like that identify your keycloak
Expand Down

0 comments on commit a389b34

Please sign in to comment.