ActiveLogin / ActiveLogin.Authentication

Support Swedish BankID (svenskt BankID) authentication in .NET. Unofficial package, not created by BankID.
https://activelogin.net
MIT License
216 stars 75 forks source link

Add extension point for refresh behavior on iOS #424

Closed altenstedt closed 9 months ago

altenstedt commented 1 year ago

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.

PeterOrneholm commented 1 year ago

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 commented 9 months ago

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