async-oauth2
async-oauth2 copied to clipboard
please move listen_for_code from examples to the main lib
thanks for making such a nice API for oauth!
I'm trying to get it to work, only issue is, the "listen_for_code" function exists in the examples folder and not in the main lib.
Could that be moved over? Then we'd have a built in server to handle the redirects and this could perhaps be a one-stop solution for oauth2 in CLI apps
Hey, thanks for the kind words.
Sure, it and its dependencies could be punted behind a feature flag. Or even a separate crate (as proven by being in the examples crate). Since it's such a small piece of code I expected people who needed it to just copy it :)