{"repo":"ltratt/pizauth","free":true,"listed":false,"github":"https://github.com/ltratt/pizauth","clone":"git clone https://github.com/ltratt/pizauth.git","description":"Command-line OAuth2 authentication daemon","language":"Rust","stars":241,"topics":["oauth","oauth2"],"license":null,"category":"auth-billing-email","readme_excerpt":"pizauth: an OAuth2 token requester daemon pizauth is a simple program for requesting, showing, and refreshing OAuth2 access tokens. pizauth is formed of two components: a persistent server which interacts with the user to request tokens, and refreshes them as necessary; and a command-line interface which can be used by programs such as fdm and msmtp to authenticate with OAuth2. Quick setup pizauth's configuration file is /.config/pizauth.conf . You need to specify at least one account , which tells pizauth how to authenticate against a particular OAuth2 setup. Most users will also want to receive asynchronous notifications of authorisation requests and errors, which requires setting auth notify cmd and error notify cmd . See the bundled example configuration for more details. Account setup At a minimum you need to find out from your provider: The authorisation URI. The token URI. Your \"Client ID\" (and in many cases also your \"Client secret\"), which identify your software. (In some cases) The scope(s) which your OAuth2 access token will give you access to. For pizauth to be able to refresh tokens, you may need to add an explicit offline access scope. (In some cases) The redirect URI (you must copy this exactly , including trailing slash / characters). The default value of http://localhost/ suffices in most instances. Some providers allow you to create Client IDs and Client Secrets at will (e.g. Google). Some providers sometimes allow you to create Client IDs and Client Secrets","default_branch":null,"files":null,"tree":[],"storefront":"/r/ltratt","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ltratt/pizauth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}