dolibarr
dolibarr copied to clipboard
oauth2 token management: no token stored in database since v20
Bug
After update from v19 to v20 the tokens are not stored in the database any more. The retrieval of token seems to work fine (green box), but then there is no token stored (see screenshot). I use this to send email via the SMTPS library. When sending an email now, I get the error, that there is no token stored, but the email gets send anyway.
Dolibarr Version
20.0
Environment PHP
8.2.22
Environment Database
MySQL/MariaDB
Steps to reproduce the behavior and expected behavior
- Open token manager on /admin/oauthlogintokens.php
- Retrieve new token