-
Notifications
You must be signed in to change notification settings - Fork 213
Allow callable functions to skip token verification in debug mode #983
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
Merged
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
8781162
Add module to determine whether a debug feature is enabled.
taeold 99d1a3b
Try to be more clever.
taeold 1567bbd
Minor cleanups.
taeold 77c15c3
Meaningless nits.
taeold c0ecb9d
Prettier.
taeold 8ab4672
Use one env var for feature toggle.
taeold 5cb4849
Allow reloading debug feature config in env var.
taeold c4746bf
Shorten comments.
taeold a500177
Skip auth token verification if request is from the emulator.
taeold 393976e
Decode ID Token.
taeold eeae9ea
Prettier
taeold b31ea7e
Fix import path.
taeold 988a1bf
Refactor, apply skip policy to app check.
taeold 9981857
Nits.
taeold a37ece0
Refactor function name for clarity.
taeold 107ed68
Add more tests.
taeold 63e8319
Refactor to reduce code dupes.
taeold 9754f58
Prefer uid/app_id in token payload if it exists.
taeold 9951e9b
Uninstall jws package.
taeold aa4ed8f
Prettier.
taeold ce7b993
More fake app ids.
taeold fc39f8e
Internal instead of hidden.
taeold b841366
toString defaults to utf8
taeold 0b52dff
Elminate need for jws as dev dep.
taeold 361246c
Use debug feature to toggle token verification.
taeold 4a9e4cc
Revert package-lock.json changes.
taeold 2ef950d
Cleanup unnecessary changes.
taeold 2cc7eb9
Make it more clear that skipping token verification is unsafe.
taeold 9a652ff
Fix rebase gone wrong.
taeold 1f6d44f
More refreshes.
taeold de196d2
Prettier.
taeold 5e36503
Fix path.
taeold 74a8da5
Address comments pt1.
taeold b339785
Rename debug feature name.
taeold facfe67
Fix test, pull out constant var as arg.
taeold d0e6af1
Add more tests.
taeold f12ca60
Prettier.
taeold 25b4458
Merge branch 'master' into dl-cf3-emulator-callable
taeold 09f1827
Merge branch 'master' into dl-cf3-emulator-callable
taeold File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.