I want to sign in with my Bluekey credentials so that I can access protected manuscript sessions and upload content.
- a "Sign in with Bluekey" button is visible on the dashboard when unauthenticated
- clicking the button opens a centered popup window to the Bluekey portal with
mode=popup and the app UUID
- the frontend listens for a
message event and validates that event.origin matches https://iis.memphis.edu
- on successful login, the access token is stored in localStorage and the dashboard UI updates to show the authenticated user's email
- the popup window closes automatically after a successful login
- failed or cancelled login attempts do not break the application state
Language: TypeScript
I want to sign in with my Bluekey credentials so that I can access protected manuscript sessions and upload content.
mode=popupand the app UUIDmessageevent and validates thatevent.originmatcheshttps://iis.memphis.eduLanguage: TypeScript