You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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