Skip to content

removed query parameter and manual header extraction logic#236

Merged
padraic-shafer merged 1 commit intoNSLS2:mainfrom
AditiChikkali:feature/whoami-test-page
Feb 9, 2026
Merged

removed query parameter and manual header extraction logic#236
padraic-shafer merged 1 commit intoNSLS2:mainfrom
AditiChikkali:feature/whoami-test-page

Conversation

@AditiChikkali
Copy link
Contributor

This PR updates the /person/me endpoint to require the user's UPN (User Principal Name) to be provided exclusively via the HTTP request header. The endpoint now uses FastAPI's Header dependency, which also makes the UPN header visible and testable in Swagger UI.

@padraic-shafer padraic-shafer merged commit f1a3509 into NSLS2:main Feb 9, 2026
3 checks passed
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.

2 participants

Comments