firebase / firebase/firebase-tools

Allow for static sms code

Open
#4,290 12 comments 0 reactions 1 assignee Claimed by @yuchenshi View on GitHub
emulator-suite emulators: auth help-wanted Needs: Attention type: feature request
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

Currently the emulator returns a random String code when authenticating with phone against it. You can use this code to authenticate.

However for testing it would be much easier if the code was predictable, either via a configuration option or just a static code usage.

I've submitted a PR https://github.com/firebase/firebase-tools/pull/4255 that makes the code to always be '123456' but I do not know if that's the best option here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.