Ben
Ben
Hi, to make PASSWORD_ARGON2ID you have to compile php with an additional flag: ` --with-password-argon2` try to install it with: ```bash phpbrew install php-7.4.4 +zts +phar +fpm +mysql +pdo --...
Hi @Elycin Well you could try to add the flag `--with-sodium` (found here: https://stackoverflow.com/a/45766303 ) and this does not work maybe you can give it the path it needs `--with-sodium=/magic/path/to/success`...
looks more like #589
hm ok, did you check the token itself? there is an endpoint for that: ``` https://gitlab.com/oauth/token/info?access_token= ``` maybe it is missing a scope
I still think it's related to https://github.com/repman-io/repman/issues/589 with it's root cause of expired refresh tokens. The refresh token is never updated without https://github.com/repman-io/repman/pull/596
any updates on this? trace: ``` RuntimeException: An error occurred while refreshing the access token: Bad Request at src/Entity/User/OAuthToken.php:102 at Buddy\Repman\Entity\User\OAuthToken->accessToken(object(UserOAuthTokenRefresher)) (src/Service/User/UserOAuthTokenProvider.php:31) at Buddy\Repman\Service\User\UserOAuthTokenProvider->findAccessToken('2648dada-XXXX-4f08-XXXX-b6240d1e71c7', 'gitlab') (src/Controller/Organization/PackageController.php:253) at Buddy\Repman\Controller\Organization\PackageController->packageNewFromGitLab(object(Form), object(Organization), object(Request))...
FYI: I found the root cause, the "redirect_uri" must always be the same when requesting a new token with a refresh token - at registration redirect_uri `.../register/gitlab/check` is used -...
@amrography any chance we can get a refactored oauth flow (with a single redirect uri in any case) any time soon? Is a pain to fix it in a running...
@KSauter yes, my boss may found an other hotfix: - remove current token(s) from database table "user_oauth_token" - relink the user you want to use - open `vendor/league/oauth2-client/src/Provider/AbstractProvider.php` and goto...
@KSauter yes it will work when the token was generated with redirect_uri "/user/token/gitlab/check" (which is the case when you generate the user token by adding a package. when you link...