mirror of
https://github.com/9p4/jellyfin-plugin-sso.git
synced 2026-09-19 13:12:19 +00:00
fix: invalidate state immediately after auth
This commit is contained in:
@@ -501,7 +501,7 @@ public class SSOController : ControllerBase
|
||||
config.DefaultProvider?.Trim(),
|
||||
kvp.Value.AvatarURL)
|
||||
.ConfigureAwait(false);
|
||||
Invalidate();
|
||||
StateManager.Remove(kvp.Key);
|
||||
return Ok(authenticationResult);
|
||||
}
|
||||
}
|
||||
@@ -777,7 +777,6 @@ public class SSOController : ControllerBase
|
||||
config.DefaultProvider?.Trim(),
|
||||
null)
|
||||
.ConfigureAwait(false);
|
||||
Invalidate();
|
||||
return Ok(authenticationResult);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user