Commit 07a1dbd
authored
fix(core): Set token endpoint manually if client creds provided in server sdk_config (#1780)
### Proposed Changes
We run the server sdk in IPC mode so it does not reach out to well-known
on instantiation because well-known isnt running yet. This means the
token endpoint is never set. So if a service using the server sdk wanted
to do a decrypt for example (a request that needs an auth token) they
would get an error.
This will manually set the token endpoint on instantiation using the
issuer provided in the yaml config.
### Checklist
- [ ] I have added or updated unit tests
- [ ] I have added or updated integration tests (if appropriate)
- [ ] I have added or updated documentation
### Testing Instructions1 parent ec46a3a commit 07a1dbd
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
167 | 176 | | |
168 | 177 | | |
169 | 178 | | |
| |||
0 commit comments