2025.2: Iterating on backups

How to setup the backup to onedrive ?

So I’m trying to setup the new backup system to onedrive.

I don’t have credentials

This guide points to

But what is the redirect url ? And what are the credentials ?

I think that is the OAuth client ID

But cetificates & secrets lets me create Client secrets, but the come in pairs

and neither value or secret id work as OAuth client secret.

All I ever get is

Logger: homeassistant.helpers.config_entry_oauth2_flow
Source: helpers/config_entry_oauth2_flow.py:345
First occurred: 13:42:47 (5 occurrences)
Last logged: 14:21:42

Error resolving OAuth token: 401, message='Unauthorized', url='https://login.microsoftonline.com/consumers/oauth2/v2.0/token'
Error resolving OAuth token: 400, message='Bad Request', url='https://login.microsoftonline.com/consumers/oauth2/v2.0/token'