Show long lived access tokens as qr code

When visiting the /profile page to create a “Long-Lived Access Token” then you get presented with a huge line of text. If what you want to use the code for is on the same system that access and creates the code then it’s not a problem but if you use it to connect for example a phone then it will be a bore typing in that string (or worse send it over email to yourself?.. :grimacing:)
I would be nice to be able to view the token as a qr code to make the transfer easier.
Maybe something like this?
home_assistant_qr_code_example

I have implemented this feature here:

2 Likes

Looking forward to trying it when it gets to master! Checking your PR several times per day hoping it has been merged! :grin: