auth lib for fedi in 99% pure sh
Go to file
Mia T. Rain 375e954108
init
2022-07-05 20:33:15 -04:00
LICENSE init 2022-07-05 20:33:15 -04:00
README init 2022-07-05 20:33:15 -04:00
auth init 2022-07-05 20:33:15 -04:00

README

---
fauth
-- auth lib for fedi in 99% pure sh
---
Usage
-- ./auth gen "instance_url"
---- generates client codes and an auth link
-- ./auth auth "token"
---- uses token given from link to request auth keys
-- data saved to ./authkeys; can then be used as $AUTHFILE
---
Redirect URI
-- fauth uses urn:ietf:wg:oauth:2.0:oob
-- where fedish used a handmade webapp
-- this change has been made as sometimes CORS blocks the redirect
-- whereas using urn:ietf:wg:oauth:2.0:oob doesn't have this issue
-- and additionally prevents the need of a webapp
---