mysterious-rose-44236
01/19/2023, 11:13 AMmagnificent-energy-493
mysterious-rose-44236
02/02/2023, 1:49 PMdocument.read
on Workspace A
User grants Client document.read
on Workspace B
User wants to revoke Clients permissions (aka consent session) from Workspace A, but not from Workspace Bmysterious-rose-44236
02/02/2023, 1:52 PM{
"sub": "john@workspaceA"
}
mysterious-rose-44236
02/02/2023, 1:55 PM{"sub": "john"}
mysterious-rose-44236
02/02/2023, 2:05 PMsession.access_token
property and selectively revoke that specific consent session; but afaik, it is not possible to revoke a single consent session. You can only revoke all sessions for a specific client; which, in my case, would also revoke access to Workspace B.magnificent-energy-493
mysterious-rose-44236
02/08/2023, 10:24 AMmysterious-rose-44236
02/08/2023, 10:26 AMmysterious-rose-44236
02/08/2023, 10:34 AMsub
should probably be the Workspace ID, and then the "Access granter" (i.e. the user) could be stored in the session metadata.
That also solves another headache of mine; being able to list all "apps" installed in a workspace, and have admins of that workspace uninstall/remove apps.
I'm using these terms to view it from the customers perspective:
• App: An Oauth client
• "Installed app": an oauth client that has an active consent session and/or token
• "Uninstalling an app": Revoking a clients consent session and active tokensmysterious-rose-44236
02/08/2023, 10:38 AMmysterious-rose-44236
02/08/2023, 10:44 AMmysterious-rose-44236
02/08/2023, 10:50 AMuserA@workspaceA
, always sending Remember: false and deferring the 'remember login' logic to the login UI (even though it's discouraged).mysterious-rose-44236
02/08/2023, 10:56 AM