Commit graph

16 commits

Author SHA1 Message Date
Philipp Wolfer
3ab0ce1cc6
Restructured cmd files 2023-12-08 17:38:20 +01:00
Philipp Wolfer
c6c0723e27
Renamed config command to service, make auth a subcommand 2023-12-07 23:55:20 +01:00
Philipp Wolfer
9c363cc06d
Use config.ServiceConfig across API 2023-12-07 23:55:20 +01:00
Philipp Wolfer
ce5cdceb1f
Initialize config if it does not exist, set database relative to config dir 2023-12-07 22:20:27 +01:00
Philipp Wolfer
a9e07915ce
Transfer command refactoring
Make transfer command processing even more modular
2023-12-05 08:24:42 +01:00
Philipp Wolfer
b169dd2cc4
auth: generate oauth2 state randomly 2023-11-28 18:13:40 +01:00
Philipp Wolfer
5b8f4788f9
lastfm: authentication 2023-11-27 14:47:46 +01:00
Philipp Wolfer
857661ebf9
Restructured code, moved all modules into internal
For now all modules are considered internal. This might change later
2023-11-24 01:24:54 +01:00
Philipp Wolfer
f447a259d4
OAuth2Strategy interface to abstract the details of the login flow
This allows implementing clients the deviate from the standard OAuth2 flow
2023-11-23 14:41:31 +01:00
Philipp Wolfer
d0739aad0f
Use config from OAuth2Authenticator for auth command 2023-11-22 08:41:18 +01:00
Philipp Wolfer
cf3747bde2
Fixed oauth token refresh for source 2023-11-22 08:21:43 +01:00
Philipp Wolfer
117014a977
Change project license to GPLv3
Individual files, mainly the models and the HTTP clients stay under MIT
2023-11-22 08:05:23 +01:00
Philipp Wolfer
fa7732c538
Autenticate OAuth backends 2023-11-21 17:51:13 +01:00
Philipp Wolfer
94704f9cd0
WIP: Authenticate 2023-11-21 16:43:40 +01:00
Philipp Wolfer
74f2a3cef7
Use port 2369 as standard port for OAuth callbacks 2023-11-21 08:52:25 +01:00
Philipp Wolfer
14d944c7ad
Basic "scotty auth" implementation 2023-11-19 23:56:31 +01:00