Login by using Long Lived Access token

Hi,

I am trying to generate a weblink to log into home assistant without keying in the login details. I do not want to use the trusted_networks method and give free access to everyone or specific IP groups. I am planning to use this for non-tech-savy guests. The link will be converted to a QR code and a visitor in the house will be able to scan and use a limited guest account.

I am able to create the Token from a non-admin account without any issues. When I try

http://HasIP:8123/auth/MyToken

I get the 404 error. I tested my token as shown in the developer site with curl

curl -X GET http://HasIP:8123/api/error/all -H “Authorization: Bearer MyToken”

I do get a response from homeassistant from terminal. I have found the following resources:

https://www.reddit.com/r/homeassistant/comments/gce03c/login_script_using_long_lived_access_token/

They have more or less the same result, and the provided answers do not seem to be working. Can someone point me towards the correct path for how to use the token as part of a HTTP link ?

Did you ever figure this out?