-
Notifications
You must be signed in to change notification settings - Fork 50
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: add BrowserID support for Tokenserver #1216
Changes from 7 commits
c0d0341
43e91b9
6cc8e06
cf81cb2
1a25c17
66b197a
28141ab
98493fc
b4e15a3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,6 +28,14 @@ services: | |
MYSQL_USER: test | ||
MYSQL_PASSWORD: test | ||
|
||
mock-fxa-server: | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Tokenserver's "test mode" stubbed out the main token verifiers for fake ones, prevent us from being able to test the verifiers themselves with integration tests. I removed the test mode in favor of adding a local server that mocks responses from FxA. This way, we don't need to stub out the verifiers in the Rust code. |
||
image: app:build | ||
restart: "no" | ||
entrypoint: python3 /app/tools/integration_tests/tokenserver/mock_fxa_server.py | ||
environment: | ||
MOCK_FXA_SERVER_HOST: 0.0.0.0 | ||
MOCK_FXA_SERVER_PORT: 6000 | ||
|
||
syncstorage-rs: | ||
image: ${SYNCSTORAGE_RS_IMAGE:-syncstorage-rs:latest} | ||
restart: always | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to fix the error on line 204. That should be a
- run:
instead of= run:
(it's an old bug.)