KB : How to get user UID in Whiteboards

Purpose

This page describes the way how to obtain the Whiteboard user's details in order to further identify the customer in the firebase database in a cloud environment.

Use Case

The guide has been prepared to help easily find and provide the details to Appfire support. The Dev/Operation team can find the entity of the customer and change his properties or investigate the case deeper on the server side. Recently this was requested in https://appfire.atlassian.net/browse/SUP-18187.

Runbook:

Login to Whiteboards and navigate to the dashboard and open Developer Tool (F12).

The following runbook has been created in Chrome browser, but developer tool is avalaibe in most of them.

Next, go to the Network tab, and in the filter box type: “user”

Next, navigate to the Payload and check the details:

{ "token": "eyJhbGciOiJSUzI1NiIsImtpZCI6ImFmZjFlNDJlNDE0M2I4MTQxM2VjMTI1MzQwOTcwODUxZThiNDdiM2YiLCJ0eXAiOiJKV1QifQ.eyJuYW1lIjoiS29ucmFkKzEgU3prdWRsYXJza2kiLCJjbGllbnRLZXkiOiJ0ZXN0YXRsYXNzaWFuaWQiLCJpc3MiOiJodHRwczovL3NlY3VyZXRva2VuLmdvb2dsZS5jb20vd2hpdGVib2FyZHMtZGV2ZWxvcG1lbnQiLCJhdWQiOiJ3aGl0ZWJvYXJkcy1kZXZlbG9wbWVudCIsImF1dGhfdGltZSI6MTY3MTgwMTI4OSwidXNlcl9pZCI6ImV2S1hpTVJURDVTcWpWTTliUHNWU1JZYkE3VTIiLCJzdWIiOiJldktYaU1SVEQ1U3FqVk05YlBzVlNSWWJBN1UyIiwiaWF0IjoxNjcxODAzMzM0LCJleHAiOjE2NzE4MDY5MzQsImVtYWlsIjoia29ucmFkLnN6a3VkbGFyc2tpKzFAZ21haWwuY29tIiwiZW1haWxfdmVyaWZpZWQiOnRydWUsImZpcmViYXNlIjp7ImlkZW50aXRpZXMiOnsiZW1haWwiOlsia29ucmFkLnN6a3VkbGFyc2tpKzFAZ21haWwuY29tIl19LCJzaWduX2luX3Byb3ZpZGVyIjoicGFzc3dvcmQifX0.pHzS4jvopfc2eFtQwPEZw1wLa0mpYfKECR8lO6pj7PFw1caas8F8J2I5nQGgQ_RF2Xc-cLTxS1Rp9mUs44ih7mZYACGGQvA2anWjvEU-qhY7WLk8hmtVXNeBhOkLd2hhSAXVQsuWxjsXzLmL-xqgD7BU_6krGH9cQlR-V0bMUU7VVX9L5ppQTij4xBWLn4B0MKG-Whr69xIpueb65qQuzlQWHksBEfZbPDjONn2SAO47Y_U0HQF8MRu3KhKYw3NNGNq0nt1jOYI-Q4e7E3tyRCHChhQ_Kb6c34jx_GQUTkKLuhhQ6XcRFjYvs-cx2peS1zeWsYsbwKEoKZMrcxWnuw", "clientKey": "testatlassianid", "uid": "evKXiMRTD5SqjVM9bPsVSRYbA7U2" }

Additionally, the JSON contains the clinetKey value to locate the organization ID. All data should be provided also with the DB location to identify the data storage. How to find the DB location can be found here: How to get DB location in whiteboards.

The UID is required to make any modification in the Whiteboards application, such as changing the role or fixing some client-specific issues.