mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.61k stars 1.16k forks source link

OAuth2 avoid multiple confirmations when logging in multiple times #4478

Open BigMichi1 opened 2 years ago

BigMichi1 commented 2 years ago

Summary

Provide an option for an OAuth2 app to suppress the confirmation screen (or follow up confirmations for some days/forever) when an external app is performing a login in via oauth. what is quite useful the first time is annoying after some days especially when you are logging in multiple times per day

Motivation

What are you about to solve or improve with this idea? What would be the benefit for most users? user will not be prompted again and again to authorize the login

Additional context

add the Trusted checkbox to the current screen for an OAuth app similar to the one from GitLab current screen in MailCow Bildschirmfoto vom 2022-02-18 16-15-11

Example from GitLab where only the first login needs to be confirmed because of the Trusted checkbox Bildschirmfoto vom 2022-02-18 16-16-16

waschbaer77 commented 2 years ago

We have the same "problem". It's annoying. This enhancement would help a lot.

TaylorChristie commented 1 year ago

The normal Oauth2 flow should require authorization for the first installation, then afterwards no longer request it. Having the user authorize every time is annoying and breaks the continuity of our integrations. +1 for this issue.

Gri89 commented 7 months ago

I confirm, it would be very convenient. I have authorization set up in several services, and to enter each one, login confirmation is required every time, which does not take much time, but is very annoying.

thunoldolsen commented 1 month ago

I agree. This is an important enhancement when running several services and users