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

Add extension point for refresh behavior on iOS #424

Merged

Conversation

altenstedt
Copy link
Contributor

This patch adds an extension point for controlling the refresh browser behaviour when returning from the BankID app.

The problem we are trying to solve is that when starting the flow from a native iOS app using an embedded view like
ASWebAuthenticationSession, we do not want to refresh the browser. With the new IReloadPageOnReturnFromBankIdApp interface, we can simply disable the refresh.

This PR fixes #423.

This patch adds an extension point for controlling the refresh browser
behaviour when returning from the BankID app.

The problem we are trying to solve is that when starting the flow from
a native iOS app using an embedded view like
ASWebAuthenticationSession, we do not want to refresh the browser.
With the new IReloadPageOnReturnFromBankIdApp interface, we can simply
disable the refresh.
This patch adds an extension point for controlling the refresh browser
behaviour when returning from the BankID app.

The problem we are trying to solve is that when starting the flow from
a native iOS app using an embedded view like
ASWebAuthenticationSession, we do not want to refresh the browser.
With the new method
IBankIdLauncherCustomAppCallback.ReloadPageOnReturnFromBankIdApp, we
can simply disable the refresh.
@PeterOrneholm
Copy link
Collaborator

Thanks, great with contributions form the community!
We are a bit short on time to review this in detail near time, but we have not forgotten it!

@PeterOrneholm
Copy link
Collaborator

Looking at this now, great work. Will merge and make a few tweaks in another bransch.

@PeterOrneholm PeterOrneholm merged commit ad0ea53 into ActiveLogin:main Jan 3, 2024
19 checks passed
@PeterOrneholm PeterOrneholm mentioned this pull request Jan 5, 2024
4 tasks
@PeterOrneholm PeterOrneholm added this to the 8.0.0 milestone Feb 20, 2024
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.

Support for controlling browser refresh behavior on iOS
2 participants