You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to authenticate using basic auth with app key and app secret. The way I understand it is that AppAuthClient is meant to be used for that. I read through the documentation and came across this: The default client has implementations of all of these (except for AppAuthClient currently). Now, I was wondering if there is a recommended alternative to get a hold of an AppAuthClient, and if there is, if it could be documented somewhere.
Sorry if I'm missing something obvious. I tried quickly putting together one myself, backed by a NoAuthClient, thinking I could just add the required auth header before the backing client takes care of the rest, but I found no way to do that last bit.
Versions
What version of the SDK are you using? 0.18.1
What version of the language are you using? 1.80.1
I am trying to authenticate using basic auth with app key and app secret. The way I understand it is that
AppAuthClient
is meant to be used for that. I read through the documentation and came across this:The default client has implementations of all of these (except for AppAuthClient currently)
. Now, I was wondering if there is a recommended alternative to get a hold of anAppAuthClient
, and if there is, if it could be documented somewhere.Sorry if I'm missing something obvious. I tried quickly putting together one myself, backed by a
NoAuthClient
, thinking I could just add the required auth header before the backing client takes care of the rest, but I found no way to do that last bit.Versions
0.18.1
1.80.1
Additional context
My current approach is to just copy a bunch of the code from https://github.com/dropbox/dropbox-sdk-rust/blob/master/src/default_client.rs until I have something that works mostly like the other clients but with the correct auth. Very much a hack which I would like to avoid if possible.
The text was updated successfully, but these errors were encountered: