Commit 056bd4c
committed
source-zendesk-support-native: switch to
Zendesk will start expiring access tokens on 30SEP2025, so the connector
needs to support rotating access & refresh tokens with the
`RotatingOAuth2Credentials` class instead of
`LongLivedClientCredentialsOAuth2Credentials` that's currently used.
We have existing users that have authenticated with OAuth already, so
the connector needs to support both type of OAuth credentials internally
but only show the `RotatingOAuth2Credentials` option in the UI. This
will let existing users' tasks to continue working until they can
re-authenticate with the new OAuth option.
Once all existing users have re-authenticated & migrated off of the
deprecated OAuth option, we can remove support for it from the connector.RotatingOAuth2Credentials for OAuth authentication1 parent 50cacec commit 056bd4c
File tree
3 files changed
+116
-10
lines changed- source-zendesk-support-native
- source_zendesk_support_native
- tests/snapshots
3 files changed
+116
-10
lines changedLines changed: 63 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
37 | 43 | | |
38 | 44 | | |
39 | 45 | | |
40 | | - | |
| 46 | + | |
| 47 | + | |
41 | 48 | | |
42 | 49 | | |
43 | | - | |
44 | | - | |
| 50 | + | |
45 | 51 | | |
46 | 52 | | |
47 | 53 | | |
| |||
55 | 61 | | |
56 | 62 | | |
57 | 63 | | |
| 64 | + | |
| 65 | + | |
58 | 66 | | |
59 | 67 | | |
60 | 68 | | |
61 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
62 | 73 | | |
63 | 74 | | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
64 | 79 | | |
65 | 80 | | |
66 | | - | |
| 81 | + | |
| 82 | + | |
67 | 83 | | |
68 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
69 | 93 | | |
70 | 94 | | |
71 | 95 | | |
| |||
99 | 123 | | |
100 | 124 | | |
101 | 125 | | |
102 | | - | |
| 126 | + | |
103 | 127 | | |
104 | 128 | | |
105 | 129 | | |
| |||
119 | 143 | | |
120 | 144 | | |
121 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
122 | 178 | | |
123 | 179 | | |
124 | 180 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
846 | 847 | | |
847 | 848 | | |
848 | 849 | | |
| 850 | + | |
849 | 851 | | |
850 | 852 | | |
851 | 853 | | |
| |||
Lines changed: 51 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
45 | 78 | | |
46 | 79 | | |
47 | 80 | | |
| |||
60 | 93 | | |
61 | 94 | | |
62 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
63 | 101 | | |
64 | 102 | | |
65 | 103 | | |
66 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
67 | 110 | | |
68 | 111 | | |
69 | 112 | | |
70 | 113 | | |
71 | 114 | | |
72 | | - | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
73 | 118 | | |
74 | 119 | | |
75 | 120 | | |
| |||
92 | 137 | | |
93 | 138 | | |
94 | 139 | | |
| 140 | + | |
95 | 141 | | |
96 | 142 | | |
97 | 143 | | |
| |||
161 | 207 | | |
162 | 208 | | |
163 | 209 | | |
164 | | - | |
| 210 | + | |
165 | 211 | | |
166 | 212 | | |
167 | 213 | | |
168 | 214 | | |
169 | | - | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
170 | 218 | | |
171 | 219 | | |
172 | 220 | | |
| |||
0 commit comments