Skip to content

feat: add temporary dashboard that just shows a user's firebase bearer token and uuid for api testing #77

@PyDev19

Description

@PyDev19

Why:

  • Getting the bearer token is usually a pain because you have to add a temporary await and console.log in some random place to print out your bearer token and constantly refresh the page when that token expires
  • After the current login, there is no redirect to a helpful page as dashboard doesn't exist, so this a perfect place for a temporary testing page.

Changes:

  • add a dashboard page that shows your bearer token and UUID for API testing purposes
  • refresh button on that page to replace your bearer token instead of refreshing the whole page
  • safety checking to make sure you are actually logged in

Safety concerns:

  • None, the bearer token should only be decodable from the correct Firebase Admin's instance, which is only on the backend

Important Note

  • Do NOT merge this into main, it is for testing only, keep it on dev until a replacement dashboard comes through

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions