Issue Description
Since upgrading to Stalwart 1.0, I’ve hit two problems on the sign-in page my webmail (Bulwark) sends me to when I click “Sign in with SSO”.
- The consent screen appears on every sign-in
Every time I sign in, Stalwart shows the consent screen again and I have to click Allow. Same user, same client, same scopes, every time.
My setup:
Stalwart 1.0 (Enterprise)
An OAuth client for Bulwark (registered, not dynamic), with First-party application turned on
Redirect URI set; grant types: authorization code and refresh token
I also deleted the client and added it back. Same result.
The docs say a first-party client still shows the consent screen, and only installed applications skip it. Asking the first time makes sense. But asking again on every sign-in, for a client I’ve already approved, teaches people to click Allow without reading, which defeats the purpose of the screen. Stalwart already records each grant under Connected Applications, so it seems like it could remember them.
Either of these would solve it:
Remember consent per user and client. Once a client is allowed, don’t ask again unless it requests new scopes or the grant is revoked under Connected Applications. That’s how Google, Microsoft and most identity providers behave.
A per-client “skip consent” option for first-party clients, available only to a superuser.
- Stalwart branding on the sign-in page despite a custom logo
I’ve set a custom logo, and it does appear on the sign-in page. But directly under it, the page still shows the Stalwart logo and the heading “Sign in to Stalwart Web Interface”. So my users see my logo and Stalwart’s together, and a heading naming a product they’ve never heard of.
Custom branding is an Enterprise feature, and I’m on Enterprise. When a custom logo is set, I’d expect the sign-in page to show only that logo, with a neutral heading such as “Sign in”, or one using my own name. Ideally the heading would be configurable alongside the logo.
Expected Behavior
Remember OAuth choice so I’m not prompted every time I try to login to webmail.example.com (Bulwark)
Remove Stalwart’s partial logo on the 2nd login page and remove reference of “Stalwart”
Stalwart Version
v1.x
Installation Method
Docker
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on