Skip to content

Comments

Add timeouts to auth and clarify updating is_staff field#3822

Merged
nikomakela merged 2 commits intomainfrom
YJDH-622-fix-auth
Jan 15, 2026
Merged

Add timeouts to auth and clarify updating is_staff field#3822
nikomakela merged 2 commits intomainfrom
YJDH-622-fix-auth

Conversation

@nikomakela
Copy link
Contributor

YJDH-622.

YJDH-622.

The calls to the Microsoft Graph API using requests were missing a
timeout. If the Graph API would have hanged or had been slow, it could
tie up application threads indefinitely.
YJDH-622.

Make it more clear that the auth logic forcefully overwrites the
is_staff flag on every login based on AD groups.
@nikomakela nikomakela requested review from a team as code owners December 23, 2025 08:35
@terovirtanen
Copy link
Contributor

YJDH-KESASETELI-API branch is deployed to platta: https://yjdh-kesaseteli-pr3822.api.dev.hel.ninja 🚀🚀🚀

@sonarqubecloud
Copy link

@sonarqubecloud
Copy link

@terovirtanen
Copy link
Contributor

YOUTH branch is deployed to platta: https://nuortenkesaseteli-pr3822.dev.hel.ninja 🚀🚀🚀

@terovirtanen
Copy link
Contributor

YJDH-HELSINKILISA-API branch is deployed to platta: https://helsinkilisa-pr3822.api.dev.hel.ninja 🚀🚀🚀

@terovirtanen
Copy link
Contributor

EMPLOYER branch is deployed to platta: https://kesaseteli-pr3822.dev.hel.ninja 🚀🚀🚀

@terovirtanen
Copy link
Contributor

HANDLER branch is deployed to platta: https://kesaseteli-handler-ui-pr3822.dev.hel.ninja 🚀🚀🚀

@terovirtanen
Copy link
Contributor

TestCafe result is success for https://kesaseteli-handler-ui-pr3822.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen
Copy link
Contributor

TestCafe result is success for https://nuortenkesaseteli-pr3822.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen
Copy link
Contributor

TestCafe result is success for https://kesaseteli-pr3822.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen
Copy link
Contributor

APPLICANT is deployed to platta: https://helsinkilisa-ui-pr3822.dev.hel.ninja 🚀🚀🚀

@terovirtanen
Copy link
Contributor

HANDLER branch is deployed to platta: https://helsinkilisa-ui-handler-pr3822.dev.hel.ninja 🚀🚀🚀

@terovirtanen
Copy link
Contributor

TestCafe result is success for https://helsinkilisa-ui-pr3822.dev.hel.ninja 😆🎉🎉🎉

@terovirtanen
Copy link
Contributor

TestCafe result is success for https://helsinkilisa-ui-handler-pr3822.dev.hel.ninja 😆🎉🎉🎉

Copy link
Collaborator

@karisal-anders karisal-anders left a comment

Choose a reason for hiding this comment

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

Approval from Kesäseteli side

Copy link
Contributor

@charn charn 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:

@nikomakela nikomakela merged commit 4954316 into main Jan 15, 2026
132 checks passed
@nikomakela nikomakela deleted the YJDH-622-fix-auth branch January 15, 2026 08:29
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.

4 participants