Get the signed-in user
GET/api/profile
Returns the signed-in user's OIDC session object (username, email, name and any other session fields) with isAdmin added, which tells the UI whether to show settings and all users' devices. If the app has no admins yet, the first user to make an authenticated request to any route is saved as admin. Any signed-in user may call it.
Responses
- 200
- 401
Session user.
Request failed.