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

[#2618] Replace digid_eherkenning_oidc_generics with library #1448

Merged
merged 4 commits into from
Oct 18, 2024

Conversation

pi-sigma
Copy link
Contributor

After discussion we decided to replace our code with the library without copying the configuration; this has to be done manually by the client.

Cherry-picked/adapted from #1297

Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/us/2617?milestone=511

Upgrade digid-eherkenning to a version with OIDC support. This
requires a newer version of mozilla-django-oidc-db too.
@pi-sigma pi-sigma force-pushed the task/2618-digid-eherkenning branch 2 times, most recently from 0cced56 to 6329b3a Compare October 17, 2024 10:35
    - The tables for our vendored copy of the digid_eherkenning library
      need to be removed manually before the migrations of the new library
      can be run in order to avoid conflicts due to duplicate tables (the
      db tables from the library use the same app label as our legacy package)
@codecov-commenter
Copy link

codecov-commenter commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 99.23954% with 2 lines in your changes missing coverage. Please review.

Project coverage is 94.58%. Comparing base (df9656f) to head (637151c).
Report is 10 commits behind head on develop.

Files with missing lines Patch % Lines
src/open_inwoner/accounts/backends.py 95.45% 1 Missing ⚠️
src/open_inwoner/accounts/views/auth_oidc.py 98.71% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1448      +/-   ##
===========================================
- Coverage    94.58%   94.58%   -0.01%     
===========================================
  Files         1069     1061       -8     
  Lines        39623    39627       +4     
===========================================
+ Hits         37478    37481       +3     
- Misses        2145     2146       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pi-sigma pi-sigma force-pushed the task/2618-digid-eherkenning branch from 6329b3a to 637151c Compare October 17, 2024 11:00
@pi-sigma pi-sigma marked this pull request as ready for review October 17, 2024 12:19
@pi-sigma pi-sigma requested a review from swrichards October 17, 2024 12:19
@alextreme
Copy link
Member

We need to make very clear that OIDC needs to be reconfigured with this change but glad that we were able to get this done

@alextreme alextreme merged commit 16de4dc into develop Oct 18, 2024
22 checks passed
@alextreme alextreme deleted the task/2618-digid-eherkenning branch October 18, 2024 13:12
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.

5 participants