The client is Sterna mail. On the latest version, the android client launches the stalwart webui to finish login flow with a dynamic client id. However, the login page is username(email) + password, which is not available for a configured external IdP.
On v0.16, the android app launches the /device on stalwart’s built-in webui and redirect to the real issuer to finish the login flow (distinguish by the email addr). Is it possible to implement the pipline on v1? So that any standard oauth app can finish the login flow with browser.
I also submitted an investigation issue on #281 - Investigate the login flow with oidc enabled Stalwart on v1.0 - emon/sterna-mail - Codeberg.org
I don’t quite sure what it will happen, if the stalwart’s openid configuration endpoints response with the real IdP endpoints.
I read the spec page on Mail, calendar and contacts clients | Stalwart