Skip to content

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

Merged
tonial merged 3 commits into
masterfrom
alaurent/rip_ic
Jan 24, 2025
Merged

Connexion: Suppression du code de connexion via Inclusion Connect #5443
tonial merged 3 commits into
masterfrom
alaurent/rip_ic

Conversation

@tonial
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown

🥁 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
Comment thread docs/environment.md Outdated
Comment thread itou/openid_connect/inclusion_connect/migrations/0001_initial.py
@tonial tonial force-pushed the alaurent/rip_ic branch 3 times, most recently from aac23f1 to f25718c Compare January 23, 2025 08:52
Comment thread itou/templates/pro_connect/includes/button.html Outdated
Comment thread itou/www/dashboard/urls.py Outdated
Comment thread itou/www/login/forms.py Outdated
Comment thread docs/environment.md Outdated
Comment thread itou/templates/pro_connect/includes/button.html Outdated
Comment thread itou/templates/pro_connect/includes/button.html Outdated
Copy link
Copy Markdown
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 🧹

Comment thread itou/users/enums.py
Comment thread tests/conftest.py
Comment thread tests/openid_connect/pro_connect/test_middleware.py
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

Comment thread itou/www/dashboard/urls.py Outdated
@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
@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