Commit 87bc332
authored
fix(imap): oauth2 url fix for outlook (#1701)
## What?
- Added try-catch block to make it easier to debug OAuth2 errors
encountered while authenticating IMAP.
- Revised Outlook URL generation code for updated Entra ID redirect
## Why?
I wasn't able to authenticate my Outlook emails previously. I'm not
fully sure if the documentation clearly states that you need your Entra
ID redirect to be configured as "Web" rather than "Mobile & Desktop
App," but that is also a needed fix.1 parent 1be6dfa commit 87bc332
1 file changed
Lines changed: 10 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
176 | 182 | | |
177 | 183 | | |
178 | 184 | | |
| |||
0 commit comments