Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support static debug token #808

Open
3 of 13 tasks
eljass opened this issue Jan 27, 2025 · 0 comments
Open
3 of 13 tasks

feat: support static debug token #808

eljass opened this issue Jan 27, 2025 · 0 comments

Comments

@eljass
Copy link

eljass commented Jan 27, 2025

Plugin(s)

  • Analytics
  • App
  • App Check
  • Authentication
  • Crashlytics
  • Cloud Firestore
  • Cloud Functions
  • Cloud Messaging
  • Cloud Storage
  • Performance
  • Remote Config

Current problem

Currently, on the web, if debug is enabled, Firebase SDK will generate a random debug token that is needed to manually add into the App Check console. With a feature to define static debug token, developer can reuse their once-generated debug token multiple times. This also works when needing to have a working debug token during CI steps.

Preferred solution

Add option to define debug token like Firebase SDK indicates: https://firebase.google.com/docs/app-check/web/debug-provider#:~:text=This%20token%20is%20stored%20locally%20in%20your%20browser%20and%20will%20be%20used%20whenever%20you%20use%20your%20app%20in%20the%20same%20browser%20on%20the%20same%20machine.%20If%20you%20want%20to%20use%20the%20token%20in%20another%20browser%20or%20on%20another%20machine%2C%20set%20self.FIREBASE_APPCHECK_DEBUG_TOKEN%20to%20the%20token%20string%20instead%20of%20true.

Alternative options

No response

Additional context

No response

Before submitting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants