fix(oauth): fix OAuth token authentication flow for existing installations

This commit is contained in:
2025-07-24 12:28:50 +00:00
parent 76c6b95f3d
commit 9011390dc4
5 changed files with 60 additions and 31 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 2025-07-22 - 3.1.1 - fix(oauth)
Fix OAuth token authentication flow for existing installations
- Fixed initWithExistingInstallation to properly create new sessions with existing installation/device
- OAuth tokens now correctly skip installation/device steps when they already exist
- Session creation still uses OAuth token as the secret parameter
- Properly handles "Superfluous authentication" errors by reusing existing installation
- Renamed initWithExistingSession to initWithExistingInstallation for clarity
## 2025-07-22 - 3.1.0 - feat(oauth)
Add OAuth session caching to prevent multiple authentication attempts