yayayahei
Results
3
issues of
yayayahei
At GoCD pipeline, it will run `git clean -dffx` firstly. But perviously gatilng image run as root user, it will cause Error when git clean repo.
 problem: tokenmanager.appAccessTokenKey(appID)为固定参数,localCache为全局变量,appID对应的缓存不过期时,NewClient(appID,wrongSecret),导致验证wrongSecret成功 want: tokenmanager.appAccessTokenKey(appID) 加上随机码参数,通过client option传递进来,防止appID token被复用