You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix OAuth scope errors and handle change crash for non-Blacksky PDS users
- Add granular OAuth scopes (identity:handle, account:email?action=manage,
account:status?action=manage) for proper permissions on newer PDSs
- Add isOauth && !isBskyPds guards for Update Email, Deactivate, and Delete
which are hardcoded to reject OAuth at the PDS level
- Route Blacksky PDS OAuth users through gatekeeper for email update,
deactivate, and delete (password-required operations)
- Fix ChangeHandleDialog crash: OauthBskyAppAgent extends Agent (not AtpAgent)
so resumeSession does not exist, causing TypeError in onSuccess callback that
TanStack Query catches and surfaces as a mutation error despite HTTP 200
- Add ScopeMissingError and OAuth error handling in error strings and
useCleanError as safety net
returnt`This feature is not available while using an App Password. Please sign in with your main password.`
32
32
}
33
+
if(str.includes('OAuth credentials are not supported')){
34
+
returnt`This feature is not available when signed in with OAuth. Please manage your account through your hosting provider's website.`
35
+
}
36
+
if(
37
+
str.includes('ScopeMissingError')||
38
+
str.includes('Missing required scope')
39
+
){
40
+
returnt`This feature is not available with your current session. Please manage your account through your hosting provider's website, or sign out and sign back in to refresh your permissions.`
0 commit comments