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

[CP-9405] app authorization token #109

Open
wants to merge 26 commits into
base: main
Choose a base branch
from
Open

[CP-9405] app authorization token #109

wants to merge 26 commits into from

Conversation

bferenc
Copy link
Contributor

@bferenc bferenc commented Dec 11, 2024

Description

Changes

Testing

Screenshots:

Checklist for the author

Tick each of them when done or if not applicable.

  • I've covered new/modified business logic with Jest test cases.
  • I've tested the changes myself before sending it to code review and QA.

}
return swRegistration.pushManager.subscribe({
- userVisibleOnly: true,
+ userVisibleOnly: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Chrome allows it since 121, but the SDK doesn't support it yet.

gergelylovas
gergelylovas previously approved these changes Dec 16, 2024
}

this.#appCheck = initializeAppCheck(this.firebaseService.getFirebaseApp(), {
provider: new CustomProvider({
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please add some docs to the docs folder on the appcheck implementation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added reference: a872e40


const solveChallenge = async ({ type, challengeDetails }: Params) => {
const solver = CHALLENGE_MAP[type];
return solver(challengeDetails);
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we do these calculations on a worker thread instead? If a user's computer is slow enough these challenges can slow down everything else as well.

Copy link
Member

Choose a reason for hiding this comment

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

This is my only comment to the PR, other than that it looks good (I tested it too, following the instructions in the ticket description).

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

Successfully merging this pull request may close these issues.

3 participants