Github deprecation of platform rest authentication

I use the following configuration that I adapted to be able to get the latest version of Tasmota:

it used to work fine but for the last few weeks I received periodically an email from github telling me that basic will soon be deprecated and that I should use a token instead.

Is it possible to do this with the platform rest or should I use something else?

Yes it supports bearer tokens, see the third example here: https://www.home-assistant.io/integrations/rest/#accessing-an-http-authentication-protected-endpoint

Yeah I switched to bearer tokens when I first started seeing that message.
There is also a Github integration you can use but I prefer the rest command.

Thank you @tom_l

I will look into it. I think I saw it but didn’t make the connection :frowning: