Commit 32f5027
fix(python): Remove oauth-token-override config flag (#11113)
OAuth token override is now always enabled for OAuth client credentials flows,
allowing users to authenticate with either client_id/client_secret OR a
pre-generated bearer token directly via the token parameter without any
configuration.
- Remove oauth_token_override field from SDKCustomConfig
- Update root_client_generator.py to always enable token override for OAuth
- Update readme_snippet_builder.py to detect OAuth from IR instead of config
- Remove token-override seed fixtures (now merged with no-custom-config)
- Regenerate seed output for oauth-client-credentials fixtures
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>1 parent 8eb7426 commit 32f5027
File tree
271 files changed
+95
-10870
lines changed- generators/python
- sdk
- src/fern_python
- generator_cli
- generators/sdk
- client_generator
- tests/sdk
- seed/python-sdk
- oauth-client-credentials-environment-variables
- .fern
- .github/workflows
- no-custom-config
- src/seed
- src/seed
- auth
- types
- core
- http_sse
- nested_no_auth
- api
- nested
- api
- simple
- tests
- custom
- utils
- assets/models
- token-override
- .fern
- src/seed
- auth
- core
- nested_no_auth/api
- nested/api
- simple
- oauth-client-credentials
- .fern
- .github/workflows
- no-custom-config
- .github/workflows
- src/seed
- auth
- types
- core
- http_sse
- nested_no_auth
- api
- nested
- api
- simple
- tests
- custom
- utils
- assets/models
- src/seed
- auth
- types
- core
- http_sse
- nested_no_auth
- api
- nested
- api
- simple
- tests
- custom
- utils
- assets/models
- token-override
- .fern
- .github/workflows
- src/seed
- auth
- types
- core
- http_sse
- nested_no_auth
- api
- nested
- api
- simple
- tests
- custom
- utils
- assets/models
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
271 files changed
+95
-10870
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
5 | 15 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | 99 | | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | 103 | | |
105 | 104 | | |
106 | 105 | | |
107 | | - | |
108 | 106 | | |
109 | 107 | | |
110 | 108 | | |
| |||
Lines changed: 15 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | 47 | | |
49 | 48 | | |
50 | 49 | | |
| |||
54 | 53 | | |
55 | 54 | | |
56 | 55 | | |
57 | | - | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
545 | 545 | | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
548 | 560 | | |
549 | 561 | | |
550 | 562 | | |
| |||
Lines changed: 66 additions & 151 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
127 | 127 | | |
128 | 128 | | |
129 | 129 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 130 | | |
135 | 131 | | |
136 | 132 | | |
| |||
140 | 136 | | |
141 | 137 | | |
142 | 138 | | |
143 | | - | |
144 | | - | |
145 | 139 | | |
146 | 140 | | |
147 | 141 | | |
| |||
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
627 | | - | |
628 | 627 | | |
629 | 628 | | |
630 | 629 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
110 | | - | |
| 109 | + | |
| 110 | + | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
0 commit comments