Skip to content

fix: Use owner when checking validity in getToken

Paul Slaughter requested to merge ps-fix-owner-check into main

Description

I discovered a bug while working on Add web_ide_oauth feature flag (gitlab!138015 - merged). It looks like we never use the owner in one of our isValidToken checks which causes us to try to keep refreshing the token.

Screenshots

Before After
Screenshot_2023-11-28_at_9.27.43_PM 20231128_demo
Edited by Paul Slaughter

Merge request reports