fix rm callback page

This commit is contained in:
2025-06-19 13:17:32 +09:00
parent 30bdd7b633
commit 1793de40c1
4 changed files with 20 additions and 37 deletions

View File

@ -97,13 +97,6 @@ export class OAuthService {
async login(handle) {
await this.initialize()
// Save current URL for return after OAuth
const currentUrl = window.location.href
// Only save if not already on oauth callback page
if (!currentUrl.includes('/oauth/callback')) {
sessionStorage.setItem('oauth_return_url', currentUrl)
}
const client = isSyuIsHandle(handle) ? this.clients.syu : this.clients.bsky
const authUrl = await client.authorize(handle, {
scope: 'atproto transition:generic'