REST API with username and password?

Are API password the only option, or are username+password authentication also possible? can’t see anything about that in the documentation
https://developers.home-assistant.io/docs/en/external_api_rest.html

You can use the new long lived tokens as described here

Hmm, yes.
But how can i generate this token?
"Send websocket command auth/long_lived_access_token" don’t tell me much as I have never worked with websocket(s?).
Google did not tell me much

Go to your userprofile in HA, and scroll down to botton. There is it posible to generate long-lived tokens.

Can’t see anything like that
Uten%20navn

Press the F in the blue circle - that takes you to uour userprofile and where you can make long-lived tokens.

Found it :cowboy_hat_face: