fixup! Fix update token on workspace start

pull/597/head
ivinokur 2023-11-03 20:17:05 +02:00
parent 0e6717a079
commit d3ac60e0d5
1 changed files with 1 additions and 0 deletions

View File

@ -153,6 +153,7 @@ public class FactoryService extends Service {
singletonMap(URL_PARAMETER_NAME, url));
if (!authorisationRequestManager.isStored(factoryParametersResolver.getProviderName())) {
personalAccessTokenManager.getAndStore(
// get the provider URL from the factory URL
factoryParametersResolver.parseFactoryUrl(url).getProviderUrl());
}
} catch (ScmCommunicationException