Skip to content

Commit 8b5fde1

Browse files
authored
Merge pull request LykosAI#994 from ionite34/backport/main/pr-992
[dev to main] backport: Fix Patreon OAuth disconnect 401 error due to using V1 api (992)
2 parents 1940b0d + f91ad63 commit 8b5fde1

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning 2.0](https://semver.org/spec/v2
1010
- Added support for RTX 5000-series GPUs in ComfyUI
1111
### Changed
1212
- Upgraded ComfyUI CUDA torch to 12.6
13+
- Upgraded Lykos account connection to use OAuth 2.0 device flow
1314
### Fixed
1415
- Fixed [#1128](https://github.com/LykosAI/StabilityMatrix/issues/1128) - overwriting models when downloading multiple with the same name
1516
- Fixed ROCm torch indexes for ComfyUI & Forge

StabilityMatrix.Avalonia/Services/AccountsService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,14 +133,14 @@ public async Task LykosAccountV2LogoutAsync()
133133
public async Task LykosPatreonOAuthLogoutAsync()
134134
{
135135
var secrets = await secretsManager.SafeLoadAsync();
136-
if (secrets.LykosAccount is null)
136+
if (secrets.LykosAccountV2 is null)
137137
{
138138
throw new InvalidOperationException(
139139
"Lykos account must be connected in to manage OAuth connections"
140140
);
141141
}
142142

143-
await lykosAuthApi.DeletePatreonOAuth();
143+
await lykosAuthApiV2.ApiV2OauthPatreon();
144144

145145
await RefreshLykosAsync(secrets);
146146
}

0 commit comments

Comments
 (0)