|
3 | 3 | <head> |
4 | 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 | 5 | <meta name="generator" content="Docutils: https://docutils.sourceforge.io/" /> |
6 | | -<title>Auth Oauth Login Field</title> |
| 6 | +<title>README.rst</title> |
7 | 7 | <style type="text/css"> |
8 | 8 |
|
9 | 9 | /* |
|
360 | 360 | </style> |
361 | 361 | </head> |
362 | 362 | <body> |
363 | | -<div class="document" id="auth-oauth-login-field"> |
364 | | -<h1 class="title">Auth Oauth Login Field</h1> |
| 363 | +<div class="document"> |
365 | 364 |
|
| 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> |
366 | 371 | <!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
367 | 372 | !! This file is generated by oca-gen-addon-readme !! |
368 | 373 | !! changes will be overwritten. !! |
369 | 374 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
370 | | -!! source digest: sha256:fc5382a243d153a8cb6f66f54f2153c2655b737645f64385e65015f42a5e4d60 |
| 375 | +!! source digest: sha256:0cd90cc579e7c20557c8e1f820f160d40c991eb2d9976c9a964510bc2571485c |
371 | 376 | !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> |
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&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&target_branch=18.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p> |
373 | 378 | <p>Handle the <tt class="docutils literal">login</tt> field from the JWT token in OAuth signup. This is |
374 | 379 | useful when you need to create users where the <tt class="docutils literal">login</tt> field is |
375 | 380 | different from the <tt class="docutils literal">email</tt> field.</p> |
376 | 381 | <p><strong>Table of contents</strong></p> |
377 | 382 | <div class="contents local topic" id="contents"> |
378 | 383 | <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> |
383 | 389 | </ul> |
384 | 390 | </li> |
385 | 391 | </ul> |
386 | 392 | </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> |
387 | 400 | <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> |
389 | 402 | <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-auth/issues">GitHub Issues</a>. |
390 | 403 | In case of trouble, please check there if your issue has already been reported. |
391 | 404 | If you spotted it first, help us to smash it by providing a detailed and welcomed |
392 | 405 | <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> |
393 | 406 | <p>Do not contact contributors directly about support or help with technical issues.</p> |
394 | 407 | </div> |
395 | 408 | <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> |
397 | 410 | <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> |
399 | 412 | <ul class="simple"> |
400 | 413 | <li>ACSONE SA/NV</li> |
401 | 414 | </ul> |
402 | 415 | </div> |
403 | 416 | <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> |
405 | 418 | <p>This module is maintained by the OCA.</p> |
406 | 419 | <a class="reference external image-reference" href="https://odoo-community.org"> |
407 | 420 | <img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /> |
408 | 421 | </a> |
409 | 422 | <p>OCA, or the Odoo Community Association, is a nonprofit organization whose |
410 | 423 | mission is to support the collaborative development of Odoo features and |
411 | 424 | 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> |
412 | 427 | <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> |
413 | 428 | <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> |
414 | 429 | </div> |
415 | 430 | </div> |
416 | 431 | </div> |
| 432 | +</div> |
417 | 433 | </body> |
418 | 434 | </html> |
0 commit comments