Commit f012db8
authored
credentials: Reconnect to SSO profile (#2013)
Problem: SSO profiles do not reconnect automatically on start up, even
if the token is still valid.
Solution: If the most recent credentials were a SSO profile, check if
the token is still valid. Continue login if it is, but do not attempt to
refresh if the token is no longer valid.1 parent 75a635e commit f012db8
File tree
2 files changed
+10
-2
lines changed- .changes/next-release
- src/credentials/providers
2 files changed
+10
-2
lines changedLines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
108 | 112 | | |
109 | 113 | | |
110 | 114 | | |
| |||
152 | 156 | | |
153 | 157 | | |
154 | 158 | | |
155 | | - | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
0 commit comments