Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse and present sessions user agent #2374

Closed
12 of 15 tasks
matrixbot opened this issue Sep 10, 2024 · 1 comment
Closed
12 of 15 tasks

Parse and present sessions user agent #2374

matrixbot opened this issue Sep 10, 2024 · 1 comment
Labels
A-Device-Management Related to sessions and device management A-Frontend Changes on the React frontend A-GraphQL Changes to the GraphQL API

Comments

@matrixbot
Copy link
Collaborator

This issue was originally created by @sandhose at matrix-org/matrix-authentication-service#2374.

Record user agent on sessions

  • Record user agent on user_sessions
  • Record user agent on oauth2_sessions
  • Record user agent on compat_sessions
  • Record user agent on oauth2_device_code_grant
  • Record user agent on oauth2_authorization_grants (should we? we can infer who completed the grant from the oauth2_sessions.user_session_id)

Parse the user agent server-side:

  • Parse common user agents (using woothee?)
  • Parse client-specific user-agents for native clients

Present them in the UI:

  • Show the device infos on the compatibility sessions
  • Show the device infos on the oauth2 sessions
  • Show the device infos on the device code grant consent screen
@matrixbot matrixbot added A-Device-Management Related to sessions and device management A-Frontend Changes on the React frontend A-GraphQL Changes to the GraphQL API labels Sep 10, 2024
@matrixbot
Copy link
Collaborator Author

This comment was originally posted by @sandhose at matrix-org/matrix-authentication-service#2374 (comment).

We've been doing that for quite some time now and the cover most important places

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Device-Management Related to sessions and device management A-Frontend Changes on the React frontend A-GraphQL Changes to the GraphQL API
Projects
None yet
Development

No branches or pull requests

1 participant