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

HP-2461 | feat: pass keycloak action parameter through #313

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

charn
Copy link
Contributor

@charn charn commented Jul 3, 2024

Running actions with keycloak is done using kc_action parameter. Here, we're just passing the action through so that a user can e.g. update the password on keycloak while the authentication still flows through tunnistamo.

@charn charn requested a review from a team July 3, 2024 11:30
Copy link

codecov bot commented Jul 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 80.36%. Comparing base (0c5d168) to head (af36164).

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #313      +/-   ##
===========================================
+ Coverage    80.35%   80.36%   +0.01%     
===========================================
  Files           91       91              
  Lines         3787     3789       +2     
===========================================
+ Hits          3043     3045       +2     
  Misses         744      744              

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

users/views.py Outdated Show resolved Hide resolved
users/views.py Outdated Show resolved Hide resolved
Running actions with keycloak is done using `kc_action` parameter.
Here, we're just passing the action through so that a user
can e.g. update the password on keycloak while the authentication
still flows through tunnistamo.

Also add some walrus-operators to if-statements.

Refs: HP-2461
Copy link

sonarcloud bot commented Jul 3, 2024

Copy link

@nicobav nicobav left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@charn charn merged commit 1edf3ae into develop Jul 4, 2024
5 checks passed
@charn charn deleted the HP-2461-kc-action branch July 4, 2024 06:57
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.

None yet

2 participants