Implement OAuth2 login flow

The old user/password flow is deprecated and broken

Fixes #1500
This commit is contained in:
Henrik Friedrichsen
2024-09-19 18:02:14 +02:00
parent ace23462f7
commit 8b83837a01
5 changed files with 46 additions and 116 deletions

View File

@@ -14,7 +14,6 @@ use crate::model::playable::Playable;
use crate::queue;
use crate::serialization::{Serializer, CBOR, TOML};
pub const CLIENT_ID: &str = "d420a117a32841c2b3474932e49fb54b";
pub const CACHE_VERSION: u16 = 1;
pub const DEFAULT_COMMAND_KEY: char = ':';