Skip to content

fix: prevent API calls in preview mode when not authenticated#443

Merged
blynchbitovi merged 1 commit intomainfrom
fix/preview-mode-auth-check
Feb 17, 2026
Merged

fix: prevent API calls in preview mode when not authenticated#443
blynchbitovi merged 1 commit intomainfrom
fix/preview-mode-auth-check

Conversation

@blynchbitovi
Copy link
Contributor

  • Add authentication check to getConfigurationIssue() before making API requests
  • Check for accessToken and scopeId in localStorage
  • Return null immediately if user is not logged in (preview mode)
  • Fixes 403/404/429 errors when accessing app without authentication
  • Prevents malformed API URLs with null scopeId

- Add authentication check to getConfigurationIssue() before making API requests
- Check for accessToken and scopeId in localStorage
- Return null immediately if user is not logged in (preview mode)
- Fixes 403/404/429 errors when accessing app without authentication
- Prevents malformed API URLs with null scopeId
@joggrbot

This comment has been minimized.

@blynchbitovi blynchbitovi merged commit 8097094 into main Feb 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments