What to Do when the PR Integration Fails Due to an Invalid OAuth Token
If your PR integration is failing, one of the reasons could be that the account owner token in GitLab stopped being valid.
Some of the reasons for that could be:
The user removes the OAuth app,
GitLab invalidates tokens for any reason,
Token expiring.
To check if the token is invalid, navigate to the scheduled analysis configuration page. One more sign would be if the Delta Analyses don't work. The account owner would then receive an email containing the message: ACTION REQUIRED: missing GitLab token blocking CodeScene PR Integration.
The solution for this issue is that the account owner logs in to codescene.io and visits https://codescene.io/users/me/token. This link is also provided in the ACTION REQUIRED email.
More in Pull Request (PR) Integration
Azure PR Integration - FAQsHow to Resolve an 'Invalid URL Given' Error in On-Prem GitLab PR Integration?How to Interpret Delta Analysis Results and Quality Gates in CodeScene?How to Configure and Use Settings Presets for PR Integration (On-prem)?Still need help? Ask the team