Example steps to obtain a reusable PKCE authentication #70
SirVer
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In #63 @wfraser added support for the newer Dropbox OAUTH2 Apis. I am using them in a Android/iOS Toy app that has become very important to me, but is not shipped on the App store. It took me some time to figure out how to use PKCE tokens and serialize them for reuse, so I thought I share the code I came up with for future reference.
I am using this
get_key
app to receive a serialized Auth object:The string printed as last line by this code can be turned into a valid auth object and hence a client again using this code:
I am not sure if I am holding this correctly, but this seems to work for me.
Beta Was this translation helpful? Give feedback.
All reactions