GitGuardian / ggshield

Find and fix 400+ types of hardcoded secrets and 70+ types of infrastructure-as-code misconfigurations.
https://gitguardian.com
MIT License
1.59k stars 139 forks source link

Redirect the user to a nicer page when the token cannot be created #843

Closed agateau-gg closed 5 months ago

agateau-gg commented 5 months ago

With this PR, GGShield makes use of the new authentication-error endpoint to show a nicely presented error message instead of the crude HTML page it previously generated.

Before:

image

After:

image