linagora / tmail-flutter

A multi-platform (Flutter) application for reading your emails, with your favorite devices, using the JMAP protocol!
GNU Affero General Public License v3.0
314 stars 70 forks source link

[web] Start OIDC automatically or add a GET parameter to be able to launch OIDC when coming from Lemonldap menu #2110

Open guimard opened 1 year ago

guimard commented 1 year ago

Description

When a user is already connected to a TWP component and when he goes to Tmail, he is prompted with "Authenticate with OIDC" (BTW which is a technical description, not a non-tech-human-readable desc).

To reproduce the issue : go to Tdrive (or the LLNG portal itself), and choose Tmail in the appgrid

Expected result

Launch OIDC without prompt (automatically or because the link in appgrid is https://tmail.company.com/?oidc=true)

Current behavior

Prompt

Context

Web

chibenwa commented 1 year ago

@guimard https://oncommit-tmail.linagora.com should already have the behavior you describe (no longer require the user to click the button, directly redirect to lemon...