Skip to main content

Me

GET 

/auth/me

Return the current authenticated user.

Works for every auth path (ALB/Cognito external, JWT, api-key) because it just reflects the resolved principal. The ALB-session frontend calls this on load instead of decoding a stored token.

Bearer-authenticated calls also refresh the asqi-hub shared-domain cookie (when enabled) with the same still-valid token -- this is what AuthContext.hydrate() calls on every page load, so a visitor whose aip-v2-ui session outlives the cookie gets it reissued here instead of bouncing back to asqi-hub-ui with no way to recover.

Request​

Responses​

Successful Response