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

fix: Using alg=none header for custom tokens in emulator mode #541

Merged
merged 3 commits into from Apr 21, 2021

Conversation

hiranya911
Copy link
Contributor

Setting the alg header to none when creating custom tokens for the emulator. This requires a recent bug fix in the google-auth package: googleapis/google-auth-library-python#729

To enable that I'm also upgrading the corresponding dependencies.

@hiranya911
Copy link
Contributor Author

This is unfortunate. Looks like google-auth discontinued Python 3.5 support a few minor versions ago: https://github.com/googleapis/google-auth-library-python/releases/tag/v1.24.0

@hiranya911
Copy link
Contributor Author

Tried to work around that issue in the tests, but it's not quite working out. Turns out google-cloud-firestore has also dropped Python 3.5 support as of their v2 release. I think we have to just drop Python 3.5 support before we can go ahead.

@lahirumaramba FYA

@hiranya911
Copy link
Contributor Author

Rebased on the head of main branch.

Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hiranya911 hiranya911 merged commit 939375c into master Apr 21, 2021
@hiranya911 hiranya911 deleted the hkj-emulator-alg branch April 21, 2021 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants