Skip to content

Support additional session user info #4304

@andriygm

Description

@andriygm

Currently, we have two fields we can access for current authenticated user info:

  • session$user
  • session$groups

This is somewhat limiting as it prevents us from passing additional custom parameters like full name, username/ID, email, etc in contexts like proxies. We should support setting an additional object session$userInfo or similar by the Shiny-Server-Credentials JSON object set during the websocket request. We could consider deprecating user and groups in favor of the proposed userInfo object with mandatory user and groups fields, but could also keep both for posterity/compatibility.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions