mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 21:27:07 +00:00
Added tenant parameter
This commit is contained in:
parent
69e6199eb6
commit
2ef248f535
1 changed files with 4 additions and 0 deletions
|
@ -331,6 +331,10 @@ public class FragmentOAuth extends FragmentBase {
|
|||
if ("gmail".equals(provider.id))
|
||||
params.put("access_type", "offline");
|
||||
|
||||
// https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-auth-code-flow
|
||||
if ("office365".equals(provider.id))
|
||||
params.put("tenant", "common");
|
||||
|
||||
if ("yandex".equals(provider.id)) {
|
||||
params.put("device_name", "Android/FairEmail");
|
||||
params.put("force_confirm", "true");
|
||||
|
|
Loading…
Reference in a new issue