Notes de version#
Tous les changements notables du projet seront documentés ici.
Le format est basé sur Keep a Changelog, et ce projet adhère à la politique de versionnage sémantique.
[0.4.4] - Unreleased#
Ajouté#
The
SECRET_KEY_FALLBACKSsetting keeps the previous secret keys after aSECRET_KEYchange, so sessions and stored secrets stay valid.The
canaille secrets reencryptcommand encrypts the stored secrets with the currentSECRET_KEY.
Modifié#
SCIM group requests with unknown members are refused instead of partially applied.
The SCIM client reads the configuration of each application every 5 minutes, instead of at each provisioning event.
Authorization codes expire after 60 seconds instead of 5 minutes.
When a client has no other audience, the
audclaim of its ID tokens is a string instead of a one-item list.client_secret_jwtclients that sign their assertions with their private key are refused. Set them to theprivate_key_jwtmethod.Canaille requires authlib 1.10 and Flask 3.1.
Authorization responses redirect with
303 See Otherinstead of302 Found.Dynamic client registration refuses missing or invalid access tokens with a
401invalid_tokenerror instead of a400access_deniederror (RFC 6750).
Corrigé#
Browsers can autofill the names, the street, the locality and the region in the profile form.
Pages can be zoomed on mobile devices.
The favicon is displayed when no logo is configured.
Screen readers announce the name of the read-only fields that hold tokens, secrets, invitation links and email addresses.
Screen readers announce the name of the search fields for groups, members, owners and audiences.
List fields, such as phone numbers, lost their read-only state and their add and remove buttons with WTForms 3.3.2.
The « Skip main menu » link leads to the page content.
The OpenID Connect discovery document no longer lists the
acrclaim, that Canaille does not issue.After logout, users are redirected to the
post_logout_redirect_uriof a client that sends anid_token_hintwithoutclient_id.The OAuth and OpenID Connect discovery documents list the
jwt-bearergrant type and theclient_secret_jwtauthentication method.client_secret_jwtclients sign their assertions with their client secret, as OpenID Connect Core requires.Clients can use the
client_credentialsgrant with theclient_secret_post,client_secret_jwtandprivate_key_jwtauthentication methods.Client secrets are compared in constant time.
Clients with several keys in their JWK set can authenticate with
private_key_jwtand sign request objects. This allows key rotation.Request objects signed with
HS256,HS384orHS512are verified with the client secret, as OpenID Connect Core requires. The client must setrequest_object_signing_algto this algorithm.Invalid JWK sets are refused at client registration instead of causing an error.
Sécurité#
Symmetric keys in the JWK set of a client were accepted to verify its
private_key_jwtassertions and request objects. Anyone who could read the JWK set could forge them. These keys are now ignored and logged. Clients that signed request objects with such a key must sign them with their client secret instead.Private and symmetric keys are refused in the JWK set when a client is registered or edited.
Client secrets and one-time passcode secrets are encrypted in the database with a key derived from
SECRET_KEY. Existing secrets stay readable. Runcanaille secrets reencryptafter the upgrade to encrypt them.
[0.4.3] - 2026-10-29#
Modifié#
Groups must have at least one member, on every backend. Deleting the account of the last member of a group deletes the group, and the clients that only this group owns. Existing groups without members need a member before they can be edited.
SCIM group names can be changed, and group members can be sent without
$ref.
Corrigé#
OAuth endpoints answered with an internal server error to plain HTTP requests. They now answer with an
insecure_transporterror, and a warning is logged.Token introspection ignored the configured
subclaim and returned the user name.
[0.4.2] - 2026-10-29#
Modifié#
SCIM provisioning failures, including refused credentials, are logged as errors. A warning is logged when a deleted user or group is not found on a client.
Clients whose SCIM server does not support filters are not provisioned.
Corrigé#
The help of
canaille deletedescribed arguments and options incorrectly.With an asynchronous task broker, the SCIM provisioning of deleted users could fail.
Trusted clients did not receive the groups without members over SCIM.
[0.4.1] - 2026-10-28#
Modifié#
The endpoints that other servers call, such as token introspection and SCIM, accept any host name, for instance the internal name of a container.
Corrigé#
The CLI displays an error for unknown references, instead of saving empty values.
canaille cleanremoves the consents and authorization codes of deleted users.A consent can be accepted without displaying the consent page first, as pytest-iam does.
Clients without an audience issued ID tokens with an empty
audclaim. #246
[0.4.0] - 2026-10-28#
Avertissement
Manual migration required for the LDAP backend: an
ownerattribute has been added to clients, and anoauthDeviceCodeobject class for device codes. Please follow the Schema update section.Existing SCIM clients must be given a
scim:users:*,scim:groups:*,scim:readorscim:writescope.SCIM clients may need to be adapted:
users and groups are identified by their
idin the URLs, inmembers.valueand in$ref, instead of theiruserNameanddisplayName;a PATCH request answers
204 No Contentwhen noattributesare requested;in a bulk request, an operation that refers to an unknown
bulkIdanswers 409.
OIDC clients that pass a
request_urimust register it in theirrequest_uris.Profile photos need the
frontpackaging extras.
Ajouté#
OAuth 2.0 Device Authorization Grant support, for devices with limited input capabilities (smart TVs, consoles, CLI tools…).
OIDC clients can be owned by users or groups. Users with the
MANAGE_OWN_CLIENTSpermission can create clients and manage the ones they own. This permission is not granted by default. #308Users who can manage all groups can pick the members of a group when they create it, and add several users at once to an existing group. #192
Groups can have several owners. Owners can choose the other owners among the members, invite users as owners, remove the members who are not owners, and step down. Only users who can manage all groups can remove the other owners. A group can only be deleted by its only owner. #309
Profile photos can be uploaded in the PNG and WEBP formats, in addition to JPEG. Their metadata, such as the GPS coordinates of smartphone photos, are removed. They are downscaled to 1024x1024 and cannot weigh more than 5MB. On the LDAP backend, they are converted to JPEG.
Support for SCIM bulk operations, filtering and sorting.
The token introspection and revocation endpoints accept the
client_secret_postandprivate_key_jwtclient authentication methods.
Modifié#
Group invitation links ask for a confirmation before the user joins the group.
Groups are picked with a search field in the user invitation and account settings forms, also without JavaScript. The pages stay light with many groups.
Form fields are checked when the user leaves them, instead of while they type, except for the password strength. Characters typed during a check no longer get lost.
Disabling
ENABLE_PASSWORD_RECOVERYalso disables password initialization, which led to an unreachable page. Administrators can still set passwords from the user profile.The session cookie is only sent with same-site requests by default (
SESSION_COOKIE_SAMESITEisLax), also without thefrontextras.When
LOGGINGis a dictionary, the loggers that exist before Canaille starts are no longer disabled. Setdisable_existing_loggerstotrueto disable them again.The HTTPS certificates of the outgoing requests, such as the password compromise check and the download of
request_uriandjwks_uridocuments, are checked against the system trust store instead of the certifi bundle.A client management request with a token issued to another client answers
400 access_deniedinstead of403 unauthorized_client.The SCIM server follows RFC 7643 and RFC 7644 more closely:
a PATCH that writes the
displayof a group member is refused with amutabilityerror;the
ResourceTypeendpoints are relative to the SCIM base URL, such as/Users;the
Userresource type declares the enterprise extension as optional;the
/ServiceProviderConfig,/ResourceTypesand/Schemasendpoints need no token;a PUT that changes nothing keeps the
meta.versionandmeta.lastModifiedof the resource.
The SCIM client updates the provisioned users and groups with PATCH requests, when the client supports PATCH. Only the changed attributes are sent. The attributes Canaille does not manage are left untouched.
Supprimé#
End support for Python 3.10.
Corrigé#
Some OIDC requests returned a server error instead of an OAuth error:
client keys that could not be read at their
jwks_uri;a token request without
grant_type;without
SERVER_NAME, a token request from a public client or with a wrong client secret;an authorization request with an unreachable or unparsable
request_uri, or with amax_agethat is not an integer;an unknown answer to the consent page.
With
prompt=login,prompt=select_accountormax_age, accepting the consent asked to log in again. Amax_ageof zero asked to log in again and again. A negativemax_ageis refused.The
promptandmax_ageparameters of request objects were ignored.Users with several email addresses only received a valid password reset or initialization code on one of them.
For users without a password, the inline validation of the login and password fields displayed the whole password initialization page inside the field.
Profile fields could show the access rights, or the error messages language, of the user of another request. After an inline validation, a field of a list, such as an email address, could show another access indicator.
An invalid email address also showed the errors that only make sense for valid addresses, such as « No user found with this email address ».
Read-only lists showed the add and remove buttons.
Without JavaScript, the copy buttons submitted the form they are in.
Spaces around a table search query prevented any match.
The browser console showed Content Security Policy errors on every page.
The user menu of the navigation bar flickered when it opened. In dark mode, it had a light background, like the tooltips.
With the LDAP backend, changing the user name of a user, or the name of a group, failed, for instance through SCIM.
With OpenLDAP 2.7, an LDAP server address that cannot be resolved raised a raw
BackendErrorinstead of a connection error.Canaille did not start with the
postgresqlandmysqlextras, as they installed SQLAlchemy 2.1, which sqlalchemy-utils does not support yet.The SQL database could not be created on MariaDB. On MariaDB, dates keep their microseconds, and tokens and authorization codes are case-sensitive.
With SQL databases, searching the members of a group also listed users who were not members.
With SQL databases, the members added to a group at the same time could be listed in any order.
Two edits of a resource in the same second got the same SCIM ETag, so an outdated
If-Matchcould be accepted.A SCIM PUT on a user whose account expires later locked the account at once.
SCIM PATCH requests that cannot be applied answer a SCIM error instead of an HTTP 500 error.
The SCIM client escapes the identifiers it puts in
externalIdfilters.
Sécurité#
The SCIM API accepted any access token emitted by Canaille. Client tokens now need a SCIM scope. User tokens only give access to their own user, with the
scim:mescope.With SCIM, users can only modify the attributes of their
WRITEACL on their own account.The SCIM client sent the password hashes to the provisioned clients.
A client could get scopes the user never consented to. With a request object, the consent page showed the scopes of the URL. With a
request_uri, the request object could change between the consent page and the user answer.OIDC request objects are only downloaded from the
request_uristhe client registered.Request objects and client key sets, downloaded at the
request_uriandjwks_uriaddresses clients indicate, had no size limit. They are now limited to 64kB.The consent page accepted answers without CSRF token. Another website could make a user consent to an application.
Some authorization errors could redirect to any URI:
consent_requiredwithprompt=noneand a request object, and the error for an unsupportedpromptvalue. They only redirect to the URIs registered for the client.Trusted clients, which skip the user consent page, need both their
client_uriand theirredirect_uristo matchTRUSTED_DOMAINS.Users without the
USE_OIDCpermission could still get tokens with the password, refresh token and authorization code grants, and use their existing tokens.Deleting a user kept their tokens, consents and authorization codes, except on PostgreSQL and MariaDB. Their access tokens stayed active until they expired.
The logout asks for a confirmation when the ID token hint was issued for another user. A link could log a user out without their consent.
User impersonation was a
GETrequest, not covered by the CSRF protection. It is now confirmed with a form, and the/impersonate/<user>endpoint is removed.Without
TRUSTED_HOSTS, password initialization mails carried a link exposed to Host header spoofing. They now carry a code, like password reset mails.After the inline validation of a password field, the typed passwords could be found in the page HTML of other users.
In debug mode, the pages did not escape the HTML in the values users entered.
Photo uploads were only checked on their file extension. A SVG file renamed with a
.jpgextension was served inline. Photos that cannot be served as images are now downloaded instead of being rendered.Canaille requires Authlib 1.9.1, which fixes several security issues.
[0.3.6] - 2026-08-04#
Ajouté#
Client secret expiration dates are displayed and editable in the client administration page. Clients cannot authenticate with an expired secret anymore.
Client secrets can be renewed from the client administration page.
canaille jwt registrationhas a--client-idoption to choose the identifier of the client to register, so it is known before the client registers itself.canaille jwt registrationandcanaille jwt managementhave a--jsonoption that displays the client identifier and the endpoint to use along with the token.
Corrigé#
RFC7592 registration access tokens were not bound to the client they were issued for.
canaille jwt managementissued tokens for unregistered clients, andcanaille jwt registrationfor already registered ones, although the endpoints reject both.Client registration and management tokens signed with the
nonealgorithm were accepted, so anyone could forge one.Client registration and management tokens signed with an inactive key are now accepted, so a key rotation does not invalidate the tokens issued before it.
DYNAMIC_CLIENT_REGISTRATION_OPENalso disabled the authentication of the RFC7592 client management endpoint, which could then be used without any token. It now only covers the registration of new clients.Dynamically registered clients had their
client_secret_expires_atset to 1970-01-01 instead of being left empty.
[0.3.5] - 2026-07-30#
Corrigé#
Server signing keys are imported once instead of at every use, which made pages and endpoints reading them slow with large RSA keys.
[0.3.4] - 2026-07-22#
Ajouté#
canaille jwk exportcommand to export the public part of the server signing keys, as JSON metadata or as PEM, for external JWT validators that verify tokens locally.
Corrigé#
move tomlkit dependency from the front to the oidc extra
[0.3.3] - 2026-07-01#
Corrigé#
Duplicate scope values in a request are now deduplicated instead of making token/authorization code storage fail (e.g. on the LDAP backend).
[0.3.2] - 2026-07-01#
Corrigé#
Unexpected errors on the OIDC endpoints are now logged instead of being silently swallowed, so they are reported to error monitoring such as Sentry.
[0.3.1] - 2026-06-22#
Corrigé#
CLI commands now report unknown model names with a clean error instead of crashing.
dump/restoreround-trip now preserves binary attributes such as user photos.
[0.3.0] - 2026-06-19#
Ajouté#
OIDC RP-Initiated Logout support. #157
HTMX page loading indicator displayed during in-flight requests.
[0.2.7] - 2026-04-14#
Corrigé#
LDAP default timeout. A default timeout of 0 would fail if server don’t instantly respond.
[0.2.6] - 2026-04-14#
Corrigé#
OIDC
pictureand SCIMphotosclaims now return absolute URLs.
[0.2.5] - 2026-04-13#
Ajouté#
SQL database configuration parameters.
Pooled LDAP connection support.
Backend.count()method for efficient entry counting.
Corrigé#
SCIM
totalResultsnow returns the total number of matching entries instead of the page size.Logo embedded in emails is now read from disk for application-local URLs instead of being fetched through an HTTP loopback. Fixes a hang when sending mail with the default
EagerBrokeron a single-threaded server #340
[0.2.4] - 2026-04-08#
Ajouté#
[0.2.3] - 2026-03-24#
Corrigé#
SCIM server no longer crashes with a 500 error when querying or patching users that have a profile photo.
SCIM server no longer returns an
invalidSyntaxerror when a user has an emptyprofile_url.
[0.2.2] - 2026-03-20#
Corrigé#
ui_locales_supportedin OIDC well-known now uses BCP 47 language tags (hyphens) instead of POSIX locale codes (underscores).
[0.2.1] - 2026-02-25#
Corrigé#
Fix alg selection on JWT emission.
[0.2.0] - 2026-02-25#
Ajouté#
Corrigé#
CSP violation caused by Fomantic-UI inline styles.
LDAP : La fonctionnalité OTP est maintenant desactivée lorsque le module OTP n’est pas chargé dans OpenLDAP.
LDAP :
PostReadControldemande uniquement les attributes qui existent dans le schéma LDAP.La réinitialisation du mot de passe ne contourne plus l’authentification multi-facteurs (MFA).
Les noms n’appariassent pas dans les URL des photos.
Inclus les données Babel manquantes dans le binaire pyinstaller. #318
ID token signing now selects a key compatible with the client’s
id_token_signed_response_alg.OIDC discovery signing algorithm claims are now dynamically computed from server keys. #323
Rend explicitement les clefs RSA obligatoires.
When the scope parameter is omitted from authorization requests, the client’s configured scope is now used as the default value.
Password field autofocus. #325
Broken photo upload. #327
Disable HTMX boosting for redirections after redirections. #334
Fix HTMX resetting inputs #335
[0.1.0] - 2025-11-13#
Ajouté#
Multiple account sessions. #100
[0.0.89] - 2025-11-12#
Ajouté#
Button to show and hide passwords. #160
Corrigé#
Fixed proxy header handling to correctly generate HTTPS URLs when behind reverse proxies.
[0.0.88] - 2025-11-06#
Ajouté#
Restored the support for string
JWKSin configuration.
Corrigé#
Support OIDC
ui_localesparameter. #108
[0.0.87] - 2025-11-02#
Avertissement
DYNAMIC_CLIENT_REGISTRATION_TOKENSremplacé par des jetons JWT.La permission
MANAGE_GROUPSest renomméeMANAGE_ALL_GROUPS.La variable d’environnement
CONFIGest renomméeCANAILLE_CONFIG.La variable d’environnement
ENV_FILEest renomméeCANAILLE_ENV.
Ajouté#
Corrigé#
Password autofill.
Conditionally load CLI to avoid crash when optional dependencies are missing.
Modifié#
Remove
DYNAMIC_CLIENT_REGISTRATION_TOKENSin favor of JWT tokens. #272Rename
CONFIGtoCANAILLE_CONFIGandENV_FILEtoCANAILLE_ENVfor consistency.
Supprimé#
Remove the web interface to see authorization codes.
[0.0.86] - 2025-09-30#
Corrigé#
Hypercorn launch with proxy settings turned on.
[0.0.85] - 2025-09-25#
Ajouté#
[0.0.84] - 2025-09-19#
Corrigé#
The
max_ageparameter of session cookies is an int.
[0.0.83] - 2025-09-19#
Avertissement
Manual migration required for LDAP backend: remove any existing oauthTrusted
attributes from client entries.
Please follow the Schema update section.
Ajouté#
OIDC originated connections display information about the client application on all the authentication pages. #271
Account selection screen on login page. Previously logged-in users are displayed as clickable cards with photos and names for quick re-authentication. #277
« Remember me » checkbox on login page. When checked (default), creates a 365-day session and adds user to login history. When unchecked, session expires on browser close and user is not saved to login history.
Modifié#
Replace client
trustedattribute with dynamicTRUSTED_DOMAINSconfiguration. Clients are now automatically trusted based on theirclient_uridomain matching patterns in theTRUSTED_DOMAINSsetting. #290
Corrigé#
The SCIM endpoint correctly manages patching user passwords.
Locale guessing prefer prefix matches. #128
Make the
getcommand flags accept negative boolean. #266The SQL backend can perform exact match searches on JSON list attributes. #278
Fix HTMX swapping for inline validation on email fields. #279
Fix Docker commands in the documentation. #283
Remove deprecated
X-XSS-Protectionheader example in web server configurations. #293
[0.0.82] - 2025-08-26#
Corrigé#
Don’t display the welcome flash when redirected to a client application after login.
Sign OIDC
id_tokenaccording toid_token_signed_response_algclient metadata.
[0.0.81] - 2025-08-23#
Corrigé#
JWK algorithm detection with OKP keys.
OIDC Client
acess_tokenandrefresh_tokenare unique in the SQL backend.The OIDC metadata indicate that some more algs, including EdDSA are supported.
Ajouté#
OIDC
iatclaims are now float, with milli/micro-second precision. #292LDAP dates are stored with milliseconds precision and timezones.
[0.0.80] - 2025-08-22#
Corrigé#
Error during JWK generation.
[0.0.79] - 2025-08-22#
Modifié#
Default JWK are OKP instead of RSA.
Corrigé#
SCIM server advertise that
externalIdfields are not supported.Fix a bug happening at OIDC logout when
post_logout_redirect_uriis empty.
Ajouté#
[0.0.78] - 2025-07-25#
Corrigé#
Fix
fake_groupscall with no user.
[0.0.77] - 2025-06-20#
Avertissement
Cette version vient avec un changement majeur de configuration.
The authentication factors configuration part have been reworked:
CANAILLE.EMAIL_OTPandCANAILLE.SMS_OTPhave been removed.CANAILLE.AUTHENTICATION_FACTORShas been introduced as a replacement.
Modifié#
The configuration parameter
AUTHENTICATION_FACTORSis added. The configuration parametersEMAIL_OTPandSMS_OTPare removed. #279
[0.0.76] - 2025-06-06#
Corrigé#
bs4 is not required for test mode.
[0.0.75] - 2025-06-06#
Avertissement
Cette version vient avec un changement majeur de configuration.
La configuration OIDC a été retravaillée :
CANAILLE_OIDC.JWT.MAPPINGdevientCANAILLE_OIDC.USERINFO_MAPPINGCANAILLE.JWTa été supprimé. Vous pouvez migrer vos clés grâce à ce script :
import tomlkit
from joserfc import jwk
with open("canaille.toml") as fd:
config = tomlkit.load(fd)
key = jwk.RSAKey.import_key(config["CANAILLE_OIDC"]["JWT"]["PRIVATE_KEY"])
config["CANAILLE_OIDC"]["ACTIVE_JWKS"] = [key.as_dict()]
with open("canaille.toml", "w") as fd:
config = tomlkit.dump(config, fd)
Avertissement
Cette version contient un changement majeur. Le schéma LDAP a évolué. Si vous utilisez LDAP, veuillez suivre la section Schema update.
Modifié#
Ajouté#
Support for RFC9101 JWT-Secured Authorization Request (JAR) #254
Adds a docker image on hubdocker #262
Update the doc to use and update the docker image #260
Corrigé#
The email field was losing focus when updated with HTMX. #279
[0.0.74] - 2025-04-24#
Ajouté#
gettextfactice lorsque la dépendanceflask-babeln’est pas installée.
[0.0.73] - 2025-04-23#
Avertissement
Cette version contient un changement majeur. Le schéma LDAP a évolué. Si vous utilisez LDAP, veuillez suivre la section Schema update.
Ajouté#
Support des valeurs
loginetconsentdu paramètrepromptdu terminal d’autorisation OIDC. #187
Corrigé#
[0.0.72] - 2025-04-07#
Avertissement
Cette version contient un changement majeur. Le schéma LDAP a évolué. Si vous utilisez LDAP, veuillez suivre la section Schema update.
Ajouté#
Implémentation des paramètres
updated_atetid_tokenen réponse du terminaluserinfo.Support de la méthode d’authentification POST sur le point terminal d’autorisation. #263
Corrigé#
Authentification cliente par JWT pour les octrois OIDC refresh_token et password. #233
Assurance que les id_token possèdent une en-tête kid. #245
Inclusion de la date d’authentification dans les
id_token.Exception de configuration lorsqu’une fonctionnalité est activée mais que les dépendances correspondantes sont manquantes.
[0.0.71] - 2025-03-31#
Corrigé#
Suppression de l’affichage de la configuration sur la page « à propos ».
[0.0.70] - 2025-03-28#
Ajouté#
Implémentation du paramètre de configuration
FORCE_HTTPSqui permet de désactiver les redirections automatiques en HTTPS.
[0.0.69] - 2025-03-28#
Ajouté#
Corrigé#
[0.0.68] - 2025-03-18#
Corrigé#
Restauration partielle avec LDAP. #257
[0.0.67] - 2025-03-18#
Avertissement
Cette version contient un changement majeur. Le schéma LDAP a évolué. Si vous utilisez LDAP, veuillez suivre la section Schema update.
Ajouté#
Implémentation complète de « OIDC Dynamic Client Registration ». #231
[0.0.66] - 2025-03-18#
Avertissement
Cette version vient avec un changement majeur concernant la commande terminal. La commande delete ne prend plus d’argument. canaille delete user XXX devient canaille delete user --id XXX.
Ajouté#
La commande delete peut prendre des paramètres de filtrage.
[0.0.65] - 2025-03-18#
Important
Cette version apporte un correctif de sécurité. Il est vivement recommandé de mettre à jour vers cette version dès que possible.
Ajouté#
Instructions dans CONTRIBUTING.rst pour mettre à jour l’image Docker #59
Instructions dans README.md pour utiliser l’image Docker #59
La commande cli dump peut n’exporter que certains modèles choisis.
Implémentation du paramètre de configuration
TRUSTED_HOSTSpour sécuriser les emails de réinitialisation de mot de passe.
Corrigé#
Les clients OIDC ne peuvent plus s’enregistrer avec des
redirect_uricontenant des fragments. #235Les clients doivent impérativement passer le paramètre redirect_uri dans les requêtes d’autorisation. #232
Affichage des liens vers les conditions d’utilisation et vers la politique de confidentialité sur la page de consentement
Les groupes d’utilisateurs sont ordonnés avec les bases de données SQL. #169
[0.0.64] - 2025-02-12#
Avertissement
Cette version vient avec une rupture de compatibilité dans la configuration. Le paramètre CANAILLE_LDAP.USER_FILTER est supprimé en faveur de LOGIN_ATTRIBUTES.
Ajouté#
Implémentation du paramètre de configuration
LOGIN_ATTRIBUTESqui permet de personnaliser les attributs des utilisateurs à utiliser comme identifiants de connexion. #196
Corrigé#
[0.0.63] - 2025-02-06#
Ajouté#
[0.0.62] - 2025-02-05#
Corrigé#
[0.0.61] - 2025-02-04#
Ajouté#
Amélioration de la sortie de
canaille config check.
Corrigé#
Correction de la commande
installavec SQL. #221
[0.0.60] - 2025-02-03#
Ajouté#
Captures d’écran dans la documentation. #210
Implémentation d’une commande
canaille runqui lance un serveur de production avec Hypercorn. #219Implémentation d’une commande
canaille config dumpqui crée un fichier de configuration commenté. #223Chargement de la configuration depuis un fichier
canaille.tomllocal. #225
Modifié#
L’indicateur de force de mot de passe n’est plus affiché sur la page de connexion.
L’extra MySQL dépend de
pymysqlau lieu demysql-connector.Le paramètre de configuration
SECRET_KEYn’est plus obligatoire, mais affiche des avertissements lorsqu’il est manquant. #221Déplacement de la commande
canaille checkverscanaille config.
Corrigé#
[0.0.59] - 2025-01-10#
Corrigé#
Modifié#
Mise à jour vers HTMX 2.0.4
[0.0.58] - 2025-01-10#
Ajouté#
Option
--versionpour l’interface en ligne de commandes #209Personnalisation de l’algorithme de hachage des mots de passe avec le paramètre de configuration
PASSWORD_SCHEMES. #175Option
canaille dumppour effectuer des sauvegardes complètes de la base de données.
Modifié#
Les commandes console affichent les mots de passe hachés. #214
Corrigé#
Correction d’un bug sur la mise à jours des paramètres utilisateurs. #206
[0.0.57] - 2024-12-31#
Ajouté#
Verrouillage des comptes utilisateurs après connexions infructueuses, contrôlé par le paramètre de configuration
ENABLE_INTRUDER_LOCKOUT. #173Multi-factor authentication, controlled by the
OTP_METHOD,EMAIL_OTP,SMS_OTPconfiguration settings. #47Vérification de la compromission des mots de passe, contrôlée par les paramètres de configuration
ENABLE_PASSWORD_COMPROMISSION_CHECKetPASSWORD_COMPROMISSION_CHECK_API_URL. #179Paramètre de configuration
ADMIN_EMAIL.Implémentation du flux OIDC
client_credentials. #207Bouton de création de jetons sur la page d’administration des clients.
Politique d’expiration des mots de passe, contrôlée par le paramètre de configuration
PASSWORD_LIFETIME. #176
Modifié#
Les extras PostgreSQL et MySQL ne dépendent plus de bibliothèques qui doivent être compilées.
Les fichiers
.envne sont pas chargés par défaut. La variable d’environnementENV_FILEdoit être passé pour que les fichiers.envsoient chargées.
[0.0.56] - 2024-11-07#
Corrigé#
Avec la base de données LDAP, la mise à jour des groupes d’utilisateurs pouvait engendrer une perte de permissions de l’éditeur. #202
Ajouté#
Options de configuration
MAX_PASSWORD_LENGTHetMIN_PASSWORD_LENGTH#174Indicateur visuel de la force des mots de passe #174
Journalisation des évènements de sécurité. #177
Support de Python 3.13. #186
Modifié#
Supprimé#
Fin de support pour Python 3.9. #179
[0.0.55] - 2024-08-30#
Modifié#
Utilisation de poetry-core comme outil de construction de paquets. #178
[0.0.54] - 2024-07-25#
Ajouté#
Modifié#
L’attribut identifier_attributes des models est fixe.
Mise-à-jour vers HTMX 1.9.12. #172
Corrigé#
Couleurs des champs dans le thème sombre.
Erreur lorsque les utilisateurs sans mots de passe lorsqu’aucun serveur SMTP n’a été configuré.
[0.0.53] - 2024-04-22#
Ajouté#
La variable env_prefix`de la méthode ``create_app` permet de choisir le préfixe des variables d’environnement.
[0.0.52] - 2024-04-22#
Ajouté#
La variable env_file de la méthode create_app permet de désactiver ou personnaliser le fichier .env.
Modifié#
Les comptes verrouillés ne peuvent plus être incarnés.
La version minimum requise de Python est 3.9.
[0.0.51] - 2024-04-09#
Modifié#
Affichage de la barre de menu sur les pages d’erreur.
[0.0.50] - 2024-04-09#
Ajouté#
Journalisation des évènements de connexion et déconnexion. #177
Corrigé#
Paramètres de configuration HTMX et JAVASCRIPT.
Compatibilité avec les anciens identifiants de session.
[0.0.49] - 2024-04-08#
Corrigé#
Suppression des groupes d’utilisateurs avec LDAP.
Affichage d’un message d’erreur lors de tentatives de suppression du dernier utilisateur d’un groupe.
[0.0.48] - 2024-04-08#
Corrigé#
Exception lors de la détection des classes d’objet LDAP.
[0.0.47] - 2024-04-08#
Corrigé#
Exception lors du chargement paresseux des permissions.
[0.0.46] - 2024-04-08#
Corrigé#
La sauvegarde des objets avec LDAP garde les valeurs de
objectClassnon gérés par Canaille. #171
[0.0.45] - 2024-04-04#
Modifié#
Mécanisme d’indexation interne de
MemoryModel.
[0.0.44] - 2024-03-29#
Corrigé#
Correction de la valeur par défaut de
USER_FILTERpour LDAP.Correction de la détection de la fonctionnalité OIDC.
[0.0.43] - 2024-03-29#
Avertissement
Les fichiers de configuration doivent être mis à jour.
Ajouté#
Modifié#
[0.0.42] - 2023-12-29#
Corrigé#
Correction d’une erreur d’import lorsque
cryptographyétait manquant.
[0.0.41] - 2023-12-25#
Ajouté#
Corrigé#
Configuration correcte de l’
audiencedurant l’enregistrement dynamique OIDC.post_logout_redirect_urisétait ignoré durant l’enregistrement dynamique OIDC.Une erreur sur le champ groupe empêchait la validation du formulaire d’enregistrement.
[0.0.40] - 2023-12-22#
Ajouté#
Le paramètre de configuration
THEMEpeut être un chemin relatif.
[0.0.39] - 2023-12-15#
Corrigé#
Erreur lorsqu’aucun ACL n’était défini.
Le point de terminaison OIDC Userinfo est aussi disponible avec la méthode POST.
Correction de la redirection après réinitialisation du mot de passe. #159
[0.0.38] - 2023-12-15#
Modifié#
[0.0.37] - 2023-12-01#
Corrigé#
[0.0.36] - 2023-12-01#
Corrigé#
Correction d’une erreur avec LDAP lorsque des groupes référencent des utilisateurs inexistants.
Les courriels d’initialisation et de réinitialisation de mots de passe n’étaient envoyés qu’à l’adresse préférée des utilisateurs.
Les courriels d’initialisation et de réinitialisation de mots de passe n’étaient pas tous envoyés si l’un des envois échouait.
La comparaison des mots de passe était trop permissive à la connexion.
Chiffrement des mots de passe dans la base de données SQL.
[0.0.35] - 2023-11-24#
Ajouté#
Modifié#
Corrigé#
Désactivation de HTMX pendant la phase d’identification OIDC. #160
[0.0.34] - 2023-10-02#
Corrigé#
Les installations de Canaille n’ayant pas la fonctionnalité de verrouillage des comptes ne pouvaient pas supprimer des utilisateurs. #153
Ajouté#
Si les utilisateurs s’enregistrent durant la phase d’authentification OAuth, ils sont ensuite redirigés vers la page dont ils viennent. #168 #151
Les bibliothèques flask-babel et pytz font désormais partie de l’extra d’empaquetage front.
Mise à jour vers fomantic-ui 2.9.3. #152
Mise à jour vers HTMX 1.9.6. #154
Support de Python 3.12 #155
[0.0.33] - 2023-08-26#
Corrigé#
Le point de terminaison OIDC jwks ne retourne plus le paramètre kid lorsqu’il est vide.
Ajouté#
Documentation des modèles de Canaille.
[0.0.32] - 2023-08-17#
Ajouté#
[0.0.31] - 2023-08-15#
Ajouté#
Corrigé#
La commande check utilise les valeurs de configuration par défaut.
Modifié#
[0.0.30] - 2023-07-06#
Avertissement
Les fichiers de configuration doivent être mis à jour. Vérifiez le nouveau format avec git diff 0.0.29 0.0.30 canaille/conf/config.sample.toml
Ajouté#
Option de configuration pour désactiver Javascript. :pr:`141
Modifié#
Le paramètre de configuration
USER_FILTERest analysé avec Jinja.La configuration utilise
PRIVATE_KEY_FILEà la place dePRIVATE_KEYetPUBLIC_KEY_FILEà la place dePUBLIC_KEY.
[0.0.29] - 2023-06-30#
Corrigé#
Désactivation d’HTMX sur les formulaires OIDC pour éviter des erreurs lors des redirections.
[0.0.28] - 2023-06-30#
Corrigé#
Une variable de template était mal nommée.
[0.0.27] - 2023-06-29#
Avertissement
Les fichiers de configuration doivent être mis à jour. Vérifiez le nouveau format avec git diff 0.0.26 0.0.27 canaille/conf/config.sample.toml
Ajouté#
Modifié#
Mise à jour vers jquery 3.7.0. #138
Corrigé#
Supprimé#
Arrêt du support pour Python 3.7. #131
[0.0.26] - 2023-06-03#
Ajouté#
Corrigé#
Les paramètres du jeton d’accès ne sont pas
Nonelorsqu’ils n’ont pas de valeur définie.Affichage du bouton de réinitialisation de mots de passe sur la page de connexion OIDC. #129
[0.0.25] - 2023-05-05#
Avertissement
- Les fichiers de configuration doivent être mis à jour.
Vérifiez le nouveau format avec
git diff 0.0.25 0.0.24 canaille/conf/config.sample.toml
Modifié#
Renommage des modèles d’attributs d’”utilisateurs en suivant la convention SCIM. #123
Déplacement des paramètres de configuration OIDC dans
OIDC.Déplacement des paramètres de configuration
LDAPdansBACKENDS.LDAP.Mise à jour vers HTMX 1.9.0. #184
Les filtres de permissions ne sont plus des filtres LDAP mais des associations de paramètres utilisateur. #125
Mise-à-jour vers HTMX 1.9.2. #127
Corrigé#
[0.0.24] - 2023-04-07#
Corrigé#
Correction de la mise à jour des avatars. #122
[0.0.23] - 2023-04-05#
Ajouté#
Modifié#
Corrigé#
Protection CSRF sur tous les formulaires. #119
[0.0.22] - 2023-03-13#
Corrigé#
La bibliothèque Faker n’est plus importée lorsque la commande clean est appelée.
[0.0.21] - 2023-03-12#
Ajouté#
Affichage des liens vers les conditions d’utilisation sur la page de liste des consentements. #102
Suppression des jetons via l’interface administrateur. #100 #101
Les consentements révoqués peuvent être restaurés. #103
Les applications de confiance apparaissent dans la liste de consentement des utilisateurs, et leur consentement peut être révoqué. #69 #103
Implémentation d’une commande
populatequi remplit la base de données avec des valeurs aléatoires générées avec la bibliothèque Faker. #105Support des connexions SMTP avec SSL. #108
Support du champs de numéro de département. #129
Support de l’édition de l’adresse (sans que cela apparaisse dans les paramètres du jeton OIDC). #112
Support de l’édition du paramètre title. #113
Corrigé#
La suppression d’un client supprime aussi les objets des classes liées
Consent,TokenetAuthorizationCode. #126 #98
Modifié#
Suppression de la bibliothèque Javascript Datatables.
[0.0.20] - 2023-01-28#
Ajouté#
Corrigé#
Correction de fautes de frappe et d’erreurs de grammaire. #84
Correction de formulations et de ponctuation. #86
Suppression automatique des espaces autour des chaîne de caractères à traduire. #91
Correction de la gestion du domaine de l’enregistrement dynamique. :issues:`123` #93
[0.0.19] - 2023-01-14#
Corrigé#
[0.0.18] - 2022-12-28#
Corrigé#
Le paramètre
staten’était pas transmis à l’URL de redirection post déconnexion. #82
[0.0.17] - 2022-12-26#
Corrigé#
[0.0.16] - 2022-12-15#
Corrigé#
Correction sur le comportement des attributs LDAP opérationnels.
[0.0.15] - 2022-12-15#
Ajouté#
[0.0.14] - 2022-11-29#
Corrigé#
Correction de l’empaquetage des catalogues de traduction.
[0.0.13] - 2022-11-21#
Corrigé#
Correction d’une erreur sur le champs contacts du formulaire d’administration des clients OIDC, du à la mise à jour des schémas LDAP de la version 0.0.12.
Correction d’une erreur survenant dans la phase de déconnexion initiée par les clients sans paramètre post_logout_redirect_uri défini.
Correction de l’intégration continue de Gitlab. #64
Correction de l’affichage de l’attribut client_secret sur la page d’administration des clients. #65
Correction de la feuille de style pour les logos non carrés. #67
Correction des chemins d’installation des schémas. #68
Correction du paramètre ``software_statement` de la RFC7591. #70
Correction de la désactivation du pré-consentement des clients. #72
Ajouté#
Modifié#
Remplacement de la variable d’environnement dépréciée FLASK_ENV par FLASK_DEBUG.
Génération dynamique des métadonnées du serveur. Les utilisateurs n’auront plus à copier manuellement et éditer les fichiers
oauth-authorizationserver.jsonetopenid-configuration.json. #71L’option de configuration ``FROM_ADDR``n’est plus obligatoire. #73
L’option de configuration ``JWT.ISS``n’est plus obligatoire. #74
[0.0.12] - 2022-10-24#
Ajouté#
[0.0.11] - 2022-08-11#
Ajouté#
Le thème par défaut a une variante sombre. #57
Corrigé#
Correction du binaire manquant
canaille. #58
[0.0.10] - 2022-07-07#
Corrigé#
[0.0.9] - 2022-06-05#
Ajouté#
Mise en place de l’option de configuration
DISABLE_PASSWORD_RESETpour désactiver la fonctionnalité de réinitialisation des mots de passe. #46Ajout de la permission
edit_selfpour contrôler l’auto-édition des données personnelles par les utilisateurs. #47Implémentation de la norme OIDC RP-initiated logout #54
Modifié#
Corrigé#
[0.0.8] - 2022-03-15#
Corrigé#
Correction des dépendances.
[0.0.7] - 2022-03-15#
Corrigé#
Correction des espaces et échappement des caractères spéciaux dans les attributs LDAP
cnetdn. #43
[0.0.6] - 2022-03-08#
Modifié#
Les jetons d’accès sont des JWT. #38
Corrigé#
[0.0.5] - 2022-03-03#
Modifié#
Les objects LDAP ont de nouveaux identifiants. #37
Corrigé#
[0.0.4] - 2022-02-16#
Ajouté#
Pré-autorisation des clients OIDC. #11
Vérification des permissions LDAP grâce à la commande check. #12
Mise à jour des consentements lorsque le domaine requis est plus large que le domaine déjà autorisé. #13
Personnalisation du thème. #15
Configuration de la journalisation. #16
Commande d’installation. #17
Liens d’invitation. #18
Permissions avancées. #20
Une option pour désactiver OIDC. #23
Désactivation de quelques fonctionnalités lorsqu’aucun serveur SMTP n’a été configuré. #24
Le texte d’exemple du champ de connexion est généré dynamiquement en fonction de la configuration. #25
Ajout d’une option pour paramétrer les identifiants des objets. #26
Support des avatars. #27
Paramètres des jetons d’accès dynamiques et configurables. #28
Améliorations de l’interface utilisateur. #29
Expiration des liens d’invitation. #30
Les invités peuvent choisir leur identifiant. #31
Ré-usinage concernant la base de données LDAP. #35
Corrigé#
Correction des membres fantômes dans les groupes. #14
Correction de l’adresse email des émetteurs. #19
Les filtres n’étaient pas échappés. #21
Bonnes pratiques du script de démo. #32
Chemins des binaires pour Debian. #33
Le nom de famille était facultatif dans les formulaires alors que c’est un paramètre obligatoire pour LDAP. #34
Corrections de fautes d’orthographe. #36
[0.0.3] - 2021-10-13#
Ajouté#
Corrigé#
[0.0.2] - 2021-01-06#
Ajouté#
La page de connexion est réactive. #1
Adaptation des claviers mobiles sur les champs de la page de connexion. #2
Interface de réinitialisation des mots de passe. #3
Interface de gestion des profiles utilisateur. #4
Renommage du projet en Canaille. #5
Commande pour supprimer les jetons expirés. #17
Améliorations sur le courriel de réinitialisation de mot de passe. #14 #26
Utilisation du paramètre de configuration Flask
SERVER_NAMEà la place d’URL. #24Améliorations sur la page de consentement. #27
Page d’administration des utilisateurs. #8
Logo pour le projet. #29
L’auto-suppression des comptes est configurable avec le paramètre de configuration
SELF_DELETION. #35Les administrateurs peuvent prendre l’identité des utilisateurs. #39
Améliorations sur l’interface utilisateur de la page des mots de passe oubliés. #43
Les administrateurs peuvent supprimer des clients. #45
Le paramètre de configuration
HIDE_INVALID_LOGINpeut-être utilisé pour laisser ou non les utilisateurs savoir si le compte avec lequel ils tentent de se connecter existe ou pas. #48Courriels d’initialisation des mots de passe. #51
Corrigé#
Supprimé#
Page « Mes jetons ». #22
[0.0.1] - 2020-10-21#
Ajouté#
Publication initiale.