You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an API key was generated with ggshield auth login and then revoked in the dashboard, and if in the meantime an environment variable is set for GITGUARDIAN_API_KEY, a new run of ggshield auth login will state that ggshield is already authenticated without an expiry date.
This is not exactly true : ggshield is authenticated indeed, yet this is not due to ggshield auth login, but to the env variable being setup.
Steps to reproduce:
Run ggshield auth login to get a token
From GitGuardian's dashboard : revoke the token
Run ggshield auth login again, this will generate another token
Revoke the token once again from the dashboard
Setup an environment variable GITGUARDIAN_API_KEY with a valid key
Run ggshield auth login, you should get the ggshield is already authenticated without an expiry date message
Expected result:
We would expect the auth login flow to start again.
The text was updated successfully, but these errors were encountered:
Environment
Describe the bug
If an API key was generated with
ggshield auth login
and then revoked in the dashboard, and if in the meantime an environment variable is set forGITGUARDIAN_API_KEY
, a new run ofggshield auth login
will state thatggshield is already authenticated without an expiry date
.This is not exactly true : ggshield is authenticated indeed, yet this is not due to
ggshield auth login
, but to the env variable being setup.Steps to reproduce:
ggshield auth login
to get a tokenggshield auth login
again, this will generate another tokenggshield auth login
, you should get theggshield is already authenticated without an expiry date
messageExpected result:
We would expect the auth login flow to start again.
The text was updated successfully, but these errors were encountered: