SocialGouv / vao

Dématérialisation de l'ensemble des procédures liées à l'organisation de séjours pour les personnes handicapées
Apache License 2.0
2 stars 0 forks source link

feat(BO-auth): possibilite de regenerer un token #290

Closed benjaminDNUM closed 1 month ago

benjaminDNUM commented 1 month ago

close jira 379 (https://jira-mcas.atlassian.net/browse/VAO-379?atlOrigin=eyJpIjoiZjRmMzdkZGE0YzUwNDA5MDhjZTRjMTI1M2I5YmQxYzAiLCJwIjoiaiJ9).

La logique de regénération du token existait deja, mais ne fonctionnait pas : Le watch du composant validate-tokenn'était pas trigger avec les erreurs pour un raison inconnue. Surement un probleme avec nuxt au mount du composant. j'ai changé et utilisé les callbacks de usefetch pour arriver au meme principe.

https://www.loom.com/share/09db286d1d284046978aba0059c3aae3?sid=4eb1c989-d834-457d-a206-dadda53cd2b4

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 1 month ago

🎉 Deployment for commit ac8238b18465bac7a33d31fe9efdf35cd9ba07c9 :

Ingresses - 🚀 [https://api-vao-feat-379-validation-compte-client-indiquer-qu-ysenmvey.ovh.fabrique.social.gouv.fr/](https://api-vao-feat-379-validation-compte-client-indiquer-qu-ysenmvey.ovh.fabrique.social.gouv.fr/) - 🚀 [https://bo-vao-feat-379-validation-compte-client-indiquer-que-1405q2ek.ovh.fabrique.social.gouv.fr/](https://bo-vao-feat-379-validation-compte-client-indiquer-que-1405q2ek.ovh.fabrique.social.gouv.fr/) - 🚀 [https://maildev-vao-feat-379-validation-compte-client-indique-ha7gxua1.ovh.fabrique.social.gouv.fr/](https://maildev-vao-feat-379-validation-compte-client-indique-ha7gxua1.ovh.fabrique.social.gouv.fr/) - 🚀 [https://vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7.ovh.fabrique.social.gouv.fr/](https://vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7.ovh.fabrique.social.gouv.fr/)
Docker images - 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/backend:sha-ac8238b18465bac7a33d31fe9efdf35cd9ba07c9 - 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-bo:sha-ac8238b18465bac7a33d31fe9efdf35cd9ba07c9 - 📦 docker pull harbor.fabrique.social.gouv.fr/vao/vao/frontend-usagers:sha-ac8238b18465bac7a33d31fe9efdf35cd9ba07c9 - 📦 docker pull maildev/maildev:2.1.0
Debug - [📕 Loki logs for namespace vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7](https://grafana-ovh.fabrique.social.gouv.fr/explore?orgId=1&left=%5B%22now-6h%22,%22now%22,%22Loki%22,%7B%22expr%22:%22%7Bnamespace%3D%5C%22vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7%5C%22%7D%22%7D%5D) - [📈 Pods monitoring for namespace vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7](https://grafana-ovh.fabrique.social.gouv.fr/d/a7df53d7-0696-4e00-821b-c56b66e5c20a/kubernetes-compute-resources-namespace-pods?orgId=1&refresh=10s&var-datasource=P5DCFC7561CCDE821&var-cluster=ovh-dev&var-namespace=vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7) - [📈 Workloads monitoring for namespace vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7](https://grafana-ovh.fabrique.social.gouv.fr/d/a164a7f0339f99e89cea5cb47e9be617V2/kubernetes-compute-resources-namespace-workloads?orgId=1&refresh=10s&var-datasource=eb239be0-0ac2-41d5-9e1a-061f951a07a3&var-cluster=ovh-dev&var-namespace=vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7&var-type=deployment) - [🐘 CNPG pg](https://grafana-ovh.fabrique.social.gouv.fr/d/z7FCA4Nn1/cloudnativepg?orgId=1&refresh=30s&var-DS_PROMETHEUS=default&var-namespace=vao-feat-379-validation-compte-client-indiquer-que-le-2j7z8ek7&var-cluster=pg&var-instances=All)
github-advanced-security[bot] commented 1 month ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

SocialGroovyBot commented 2 weeks ago

:tada: This PR is included in version 1.4.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: