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

Connexion: Suppression du code de connexion via Inclusion Connect #5443

Merged
merged 3 commits into from
Jan 24, 2025

Conversation

tonial
Copy link
Contributor

@tonial tonial commented Jan 22, 2025

🤔 Pourquoi ?

Inclusion Connect va bientôt disparaître 😢

Sur les environnements de démo/recette/dev où ProConnect n'est pas disponible : on améliore le message pour dire d'utiliser les compte de démonstration.

🍰 Comment ?

Décrivez en quelques mots la solution retenue et mise en oeuvre, les difficultés ou problèmes rencontrés. Attirez l'attention sur les décisions d'architecture ou de conception importantes.

🚨 À vérifier

  • Mettre à jour le CHANGELOG_breaking_changes.md ?

🏝️ Comment tester

Les instructions pour reproduire le problème, les profils de test, le parcours spécifique à utiliser, etc. Si vous disposez d'une recette jetable, mettre l'URL pour tester dans cette partie.

💻 Captures d'écran

@tonial tonial added the supprimé Supprimé dans le changelog. label Jan 22, 2025
@tonial tonial self-assigned this Jan 22, 2025
@tonial tonial marked this pull request as draft January 22, 2025 08:13
@tonial tonial force-pushed the alaurent/rip_ic branch 4 times, most recently from bf6abec to a5cab1c Compare January 22, 2025 21:49
@tonial tonial added the 1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC label Jan 23, 2025
Copy link

🥁 La recette jetable est prête ! 👉 Je veux tester cette PR !

@tonial tonial force-pushed the alaurent/rip_ic branch 5 times, most recently from eb071fb to 235f925 Compare January 23, 2025 06:09
@tonial tonial marked this pull request as ready for review January 23, 2025 06:14
@tonial tonial force-pushed the alaurent/rip_ic branch 3 times, most recently from aac23f1 to f25718c Compare January 23, 2025 08:52
itou/templates/pro_connect/includes/button.html Outdated Show resolved Hide resolved
itou/www/dashboard/urls.py Outdated Show resolved Hide resolved
itou/www/login/forms.py Outdated Show resolved Hide resolved
docs/environment.md Outdated Show resolved Hide resolved
itou/templates/pro_connect/includes/button.html Outdated Show resolved Hide resolved
itou/templates/pro_connect/includes/button.html Outdated Show resolved Hide resolved
Copy link
Contributor

@calummackervoy calummackervoy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bravo, toujours content d'avoir 2500 lignes de code de moins 🧹

itou/users/enums.py Show resolved Hide resolved
tests/conftest.py Show resolved Hide resolved
Comment on lines 360 to +361
class AccountMigrationView(TemplateView):
template_name = "account/activate_inclusion_connect_account.html"
template_name = "account/activate_pro_connect_account.html"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK :)

Je vois qu'on a middleware qui rédirige les utilisateurs d'InclusionConnect à cette vue. Quand ils tape sur le bouton ProConnect ils doivent s'inscrire / se connecter ailleurs, et quand ils revient on va modifier le SSO de leur compte.

Ça vaut un test qui cible ce processus en particulier, IC -> PC ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Les utilisateurs d'inclusion_connect ne sont plus redirigés (car ils ne peuvent plus se connecter avec cette PR)
Un utilisateur utilisant IC par le passé et se connectant avec ProConnect sera migré (cf test_get_existing_user_with_same_email_IC).

Copy link
Contributor

@xavfernandez xavfernandez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ça me semble bien

itou/www/dashboard/urls.py Outdated Show resolved Hide resolved
@tonial tonial added this pull request to the merge queue Jan 24, 2025
Merged via the queue into master with commit f80cb80 Jan 24, 2025
9 checks passed
@tonial tonial deleted the alaurent/rip_ic branch January 24, 2025 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-recette-jetable [Payé à l’heure] Crée une recette jetable sur CC supprimé Supprimé dans le changelog.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants