Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2: fix visu with auth #520

Merged
merged 2 commits into from
Jan 9, 2024
Merged

V2: fix visu with auth #520

merged 2 commits into from
Jan 9, 2024

Conversation

laurentC35
Copy link
Contributor

@laurentC35 laurentC35 commented Jan 9, 2024

Fix: #519

Quand on est en mode "oidc" et qu'on est sur une route "non-protégée", la fonction getTokens fournie par la lib oidc-spa n'existe pas et provoque une erreur en essayant de l'appelée.

On remplace le token par null car il s'agit de la fonction permettant de récupérer les nomenclatures en visualisation seulement.

Copy link

sonarqubecloud bot commented Jan 9, 2024

@laurentC35 laurentC35 requested a review from ddecrulle January 9, 2024 08:32
src/utils/hooks/api.js Show resolved Hide resolved
@ddecrulle ddecrulle merged commit f67b2f1 into v2-master Jan 9, 2024
3 checks passed
@ddecrulle ddecrulle deleted the v2/fix/visu-with-auth branch January 9, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants