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

feat: [IOPID-2666] FastLogin expiration Banner #6736

Merged
merged 19 commits into from
Feb 19, 2025

Conversation

ChrisMattew
Copy link
Collaborator

@ChrisMattew ChrisMattew commented Feb 19, 2025

Important

Depends on this PR

Short description

This PR implements the FastLogin notification banner in the messages section, displayed when the days left until the expirationDate are lower than or equal to the remote threshold value

List of changes proposed in this pull request

  • Updated the content definitions source url
  • Added the loginPreferences in order to handle the local persisted showSessionExpirationBanner value
  • Added the LoginExpirationBanner into the landingScreenBannerMap
  • Added tests for isSessionExpirationBannerRenderableSelector in order to ensure it works correctly

Demo

Fast Login
iOS Android
iOS-fast-login.mov
android-fast-login.mov
Standard Login
iOS Android
iOS-standard-login.mov
android-standard-login.mov

Note

For standard login, it is currently not necessary to display the session expiration banner. However, it can be enabled by setting the standardLogin threshold field in the remote configuration.

How to test

This feature can be tested in a local environment by running the dev server from the branch of this PR. This will allow testing different scenarios by changing the values of expirationDate and loginConfig as needed.

As for the production environment, a proxy tool will be required to manipulate the expirationDate field value as needed.

@ChrisMattew ChrisMattew self-assigned this Feb 19, 2025
@ChrisMattew ChrisMattew added the IO-A&I IO - Autenticazione e Identità label Feb 19, 2025
Copy link
Contributor

github-actions bot commented Feb 19, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

Copy link
Contributor

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Copy link
Contributor

@Ladirico Ladirico left a comment

Choose a reason for hiding this comment

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

LGTM! 🚀

@mariateresaventura mariateresaventura removed the copy review needed ✋🏼 🖊️ Awaiting copy review by UX Writers. Don't merge if there is this label. label Feb 19, 2025
@mariateresaventura
Copy link
Contributor

@mariateresaventura copy review needed 🙏🏻

Done!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO-A&I IO - Autenticazione e Identità
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants