mirror of
https://github.com/OMGeeky/yup-oauth2.git
synced 2025-12-31 16:40:05 +01:00
b08b239e88815f83034eadd751d64b25d9650798
We would actually fail to decode an error, and then assume it's a valid result, unwrapping another failed attempt to decode the json string returned by the server. Cause seems to be that the json error structure now conains an additional field, 'error_uri'. * we removed a debug printing ... . * incremented version
yup-oauth2 is a utility library which will implement oauthv2 device authentication suitable for yup to work.
It is implemented such that it makes no assumptions about the front-end, allowing more uses than just in yup.
Usage
Please have a look at the API landing page for all the examples you will ever need.
A simple commandline program which authenticates any scope and prints token information can be found in the examples directory.
The video below shows the auth example in action. It's meant to be used as utility to record all server communication and improve protocol compliance.
Description
Languages
Rust
99.2%
Shell
0.8%
