add support of refresh token

This commit is contained in:
beu
2024-07-31 11:36:15 +02:00
parent eb1ddce377
commit 17d1e1db1e
3 changed files with 42 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ php bin/console make:user
Note that you have to answer **no** to the question `Does this app need to hash/check user passwords?`
Then, you could copy the files `TrackMania.php` in `src/Controller/OAuth2/` and `TrackManiaAuthenticator.php` in `src/Security/`
Then, you could copy the files `TrackMania.php` in `src/Controller/OAuth2/`, `TrackManiaAuthenticator.php` in `src/Security/` and `TrackManiaAuthenticatorSubscriber.php` in `src/Event/`.
Then change the `config/packages/knpu_oauth2_client.yaml` file like this: