Skip to content

Commit 46f87ca

Browse files
committed
[BOT] post-merge updates
1 parent e64e4de commit 46f87ca

File tree

5 files changed

+54
-16
lines changed

5 files changed

+54
-16
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ addon | version | maintainers | summary
2929
[auth_jwt](auth_jwt/) | 18.0.1.0.1 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | JWT bearer token authentication.
3030
[auth_jwt_demo](auth_jwt_demo/) | 18.0.1.0.1 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Test/demo module for auth_jwt.
3131
[auth_oauth_filter_by_domain](auth_oauth_filter_by_domain/) | 18.0.1.0.0 | <a href='https://github.com/natuan9'><img src='https://github.com/natuan9.png' width='32' height='32' style='border-radius:50%;' alt='natuan9'/></a> | Filter OAuth providers by domain
32+
[auth_oauth_login_field](auth_oauth_login_field/) | 18.0.1.0.0 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Handle the login field in OAuth signup
3233
[auth_oauth_multi_token](auth_oauth_multi_token/) | 18.0.2.0.0 | | Allow multiple connection with the same OAuth account
3334
[auth_oidc](auth_oidc/) | 18.0.1.1.0 | <a href='https://github.com/sbidoul'><img src='https://github.com/sbidoul.png' width='32' height='32' style='border-radius:50%;' alt='sbidoul'/></a> | Allow users to login through OpenID Connect Provider
3435
[auth_oidc_environment](auth_oidc_environment/) | 18.0.1.0.0 | | This module allows to use server env for OIDC configuration

auth_oauth_login_field/README.rst

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.. image:: https://odoo-community.org/readme-banner-image
2+
:target: https://odoo-community.org/get-involved?utm_source=readme
3+
:alt: Odoo Community Association
4+
15
======================
26
Auth Oauth Login Field
37
======================
@@ -7,13 +11,13 @@ Auth Oauth Login Field
711
!! This file is generated by oca-gen-addon-readme !!
812
!! changes will be overwritten. !!
913
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
10-
!! source digest: sha256:fc5382a243d153a8cb6f66f54f2153c2655b737645f64385e65015f42a5e4d60
14+
!! source digest: sha256:0cd90cc579e7c20557c8e1f820f160d40c991eb2d9976c9a964510bc2571485c
1115
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
1216
1317
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
1418
:target: https://odoo-community.org/page/development-status
1519
:alt: Beta
16-
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
20+
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
1721
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
1822
:alt: License: AGPL-3
1923
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github
@@ -37,6 +41,14 @@ different from the ``email`` field.
3741
.. contents::
3842
:local:
3943

44+
Usage
45+
=====
46+
47+
If a ``login`` field is present in the token, it will be used as
48+
``login`` field on user signup. When using the ``auth_oidc`` module, the
49+
Token Map can be populated like this, for instance:
50+
``preferred_username:login``.
51+
4052
Bug Tracker
4153
===========
4254

@@ -68,6 +80,14 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose
6880
mission is to support the collaborative development of Odoo features and
6981
promote its widespread use.
7082

83+
.. |maintainer-sbidoul| image:: https://github.com/sbidoul.png?size=40px
84+
:target: https://github.com/sbidoul
85+
:alt: sbidoul
86+
87+
Current `maintainer <https://odoo-community.org/page/maintainer-role>`__:
88+
89+
|maintainer-sbidoul|
90+
7191
This module is part of the `OCA/server-auth <https://github.com/OCA/server-auth/tree/18.0/auth_oauth_login_field>`_ project on GitHub.
7292

7393
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
10 KB
Loading

auth_oauth_login_field/static/description/index.html

Lines changed: 29 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
6-
<title>Auth Oauth Login Field</title>
6+
<title>README.rst</title>
77
<style type="text/css">
88

99
/*
@@ -360,59 +360,75 @@
360360
</style>
361361
</head>
362362
<body>
363-
<div class="document" id="auth-oauth-login-field">
364-
<h1 class="title">Auth Oauth Login Field</h1>
363+
<div class="document">
365364

365+
366+
<a class="reference external image-reference" href="https://odoo-community.org/get-involved?utm_source=readme">
367+
<img alt="Odoo Community Association" src="https://odoo-community.org/readme-banner-image" />
368+
</a>
369+
<div class="section" id="auth-oauth-login-field">
370+
<h1>Auth Oauth Login Field</h1>
366371
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
367372
!! This file is generated by oca-gen-addon-readme !!
368373
!! changes will be overwritten. !!
369374
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
370-
!! source digest: sha256:fc5382a243d153a8cb6f66f54f2153c2655b737645f64385e65015f42a5e4d60
375+
!! source digest: sha256:0cd90cc579e7c20557c8e1f820f160d40c991eb2d9976c9a964510bc2571485c
371376
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
372-
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-auth/tree/18.0/auth_oauth_login_field"><img alt="OCA/server-auth" src="https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-auth_oauth_login_field"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-auth&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
377+
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/license-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/server-auth/tree/18.0/auth_oauth_login_field"><img alt="OCA/server-auth" src="https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/server-auth-18-0/server-auth-18-0-auth_oauth_login_field"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/server-auth&amp;target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
373378
<p>Handle the <tt class="docutils literal">login</tt> field from the JWT token in OAuth signup. This is
374379
useful when you need to create users where the <tt class="docutils literal">login</tt> field is
375380
different from the <tt class="docutils literal">email</tt> field.</p>
376381
<p><strong>Table of contents</strong></p>
377382
<div class="contents local topic" id="contents">
378383
<ul class="simple">
379-
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-1">Bug Tracker</a></li>
380-
<li><a class="reference internal" href="#credits" id="toc-entry-2">Credits</a><ul>
381-
<li><a class="reference internal" href="#authors" id="toc-entry-3">Authors</a></li>
382-
<li><a class="reference internal" href="#maintainers" id="toc-entry-4">Maintainers</a></li>
384+
<li><a class="reference internal" href="#usage" id="toc-entry-1">Usage</a></li>
385+
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-2">Bug Tracker</a></li>
386+
<li><a class="reference internal" href="#credits" id="toc-entry-3">Credits</a><ul>
387+
<li><a class="reference internal" href="#authors" id="toc-entry-4">Authors</a></li>
388+
<li><a class="reference internal" href="#maintainers" id="toc-entry-5">Maintainers</a></li>
383389
</ul>
384390
</li>
385391
</ul>
386392
</div>
393+
<div class="section" id="usage">
394+
<h2><a class="toc-backref" href="#toc-entry-1">Usage</a></h2>
395+
<p>If a <tt class="docutils literal">login</tt> field is present in the token, it will be used as
396+
<tt class="docutils literal">login</tt> field on user signup. When using the <tt class="docutils literal">auth_oidc</tt> module, the
397+
Token Map can be populated like this, for instance:
398+
<tt class="docutils literal">preferred_username:login</tt>.</p>
399+
</div>
387400
<div class="section" id="bug-tracker">
388-
<h1><a class="toc-backref" href="#toc-entry-1">Bug Tracker</a></h1>
401+
<h2><a class="toc-backref" href="#toc-entry-2">Bug Tracker</a></h2>
389402
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-auth/issues">GitHub Issues</a>.
390403
In case of trouble, please check there if your issue has already been reported.
391404
If you spotted it first, help us to smash it by providing a detailed and welcomed
392405
<a class="reference external" href="https://github.com/OCA/server-auth/issues/new?body=module:%20auth_oauth_login_field%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
393406
<p>Do not contact contributors directly about support or help with technical issues.</p>
394407
</div>
395408
<div class="section" id="credits">
396-
<h1><a class="toc-backref" href="#toc-entry-2">Credits</a></h1>
409+
<h2><a class="toc-backref" href="#toc-entry-3">Credits</a></h2>
397410
<div class="section" id="authors">
398-
<h2><a class="toc-backref" href="#toc-entry-3">Authors</a></h2>
411+
<h3><a class="toc-backref" href="#toc-entry-4">Authors</a></h3>
399412
<ul class="simple">
400413
<li>ACSONE SA/NV</li>
401414
</ul>
402415
</div>
403416
<div class="section" id="maintainers">
404-
<h2><a class="toc-backref" href="#toc-entry-4">Maintainers</a></h2>
417+
<h3><a class="toc-backref" href="#toc-entry-5">Maintainers</a></h3>
405418
<p>This module is maintained by the OCA.</p>
406419
<a class="reference external image-reference" href="https://odoo-community.org">
407420
<img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" />
408421
</a>
409422
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
410423
mission is to support the collaborative development of Odoo features and
411424
promote its widespread use.</p>
425+
<p>Current <a class="reference external" href="https://odoo-community.org/page/maintainer-role">maintainer</a>:</p>
426+
<p><a class="reference external image-reference" href="https://github.com/sbidoul"><img alt="sbidoul" src="https://github.com/sbidoul.png?size=40px" /></a></p>
412427
<p>This module is part of the <a class="reference external" href="https://github.com/OCA/server-auth/tree/18.0/auth_oauth_login_field">OCA/server-auth</a> project on GitHub.</p>
413428
<p>You are welcome to contribute. To learn how please visit <a class="reference external" href="https://odoo-community.org/page/Contribute">https://odoo-community.org/page/Contribute</a>.</p>
414429
</div>
415430
</div>
416431
</div>
432+
</div>
417433
</body>
418434
</html>

setup/_metapackage/pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "odoo-addons-oca-server-auth"
3-
version = "18.0.20251217.0"
3+
version = "18.0.20260219.0"
44
dependencies = [
55
"odoo-addon-auth_admin_passkey==18.0.*",
66
"odoo-addon-auth_api_key==18.0.*",
@@ -9,6 +9,7 @@ dependencies = [
99
"odoo-addon-auth_jwt==18.0.*",
1010
"odoo-addon-auth_jwt_demo==18.0.*",
1111
"odoo-addon-auth_oauth_filter_by_domain==18.0.*",
12+
"odoo-addon-auth_oauth_login_field==18.0.*",
1213
"odoo-addon-auth_oauth_multi_token==18.0.*",
1314
"odoo-addon-auth_oidc==18.0.*",
1415
"odoo-addon-auth_oidc_environment==18.0.*",

0 commit comments

Comments
 (0)