Client Credentials authorization in header or body...
# support
j
Hi team - just a quick question about the client credentials flow as documented: https://www.medplum.com/docs/auth/client-credentials [Unless I'm totally reading it wrong] the
curl
example shows the client_id and client_secret in the request body, but the python example shows the id secret encoded in the Authorization header. Is this just meant to say that both are allowed?
r
@jakxz , I think that's a bug in our docs! The TS example is right, the Python example is actually showing Basic Auth. We'll get that fixed!
j
Thought so!
thank you
and when you say
TS
you mean
curl
right? 😅
r
yes...
sorry!
j
all good 👍🏾
thanks again 🙂
@rahul1 hope I was able to take this off your plate here :). https://github.com/medplum/medplum/pull/2682
r
Thank you so much @jakxz ! Approved
157 Views