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

Feature/add authentication timeout #55

Merged
merged 6 commits into from
Aug 2, 2024

Conversation

pmeulen
Copy link
Contributor

@pmeulen pmeulen commented Aug 2, 2024

Add "authenticationTimeout" customProperty to push notifications.

The authenticationTimeout is the number of seconds for which the authentication push notification should be actionable by the user after the push notification is sent. The server should set this to an appropriate number of seconds that allows the user to complete the timeout before the session on the server. We now use [server authentication session timeout] - 30 seconds = 150 seconds. So this gives a user at least 30 seconds to complete the authentication. A Tiqr client should not offer to stat an authentication after authenticationTimeout, but it should allow it to be completed even after authenticationTimeout expires.

  • Update Android FCM code to accept customProperties
  • Update APNS code to set mutable-content: 1 option

@pmeulen pmeulen merged commit 0a569bd into develop Aug 2, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant