Login flow are usually thought out as separate integrations between mobile Oauth2 integrations and browser based redirect integrations for login. Ory Kratos published in 2024 their new single sign-in on flow using either the native mobile or a new web flow for single page application.
So we decided at Pvotal to create a library and cross platform implementation to completely offload this problem for login systems leveraging Flutter. It handles OpenID with google and consent, passkey, password or recovery key.
We want to provide in this presentation the base bloc structure and key considerations to allow other developers to get inspired by this method to integrate similarly with their authentication providers. We want to also present the routes post-authentication to change one user's configurations dynamically depending on what was configured in their profile leveraging the UI node system of Ory Kratos.
DevFest Montreal 2024