4 .TH SEND %manext1% "March 23, 2016" "%nmhversion%"
6 mhlogin \- login to external (OAuth) services
21 currently only supports OAuth for Gmail. Run
26 and load the printed URL in your browser. Login to a Gmail account, grant
27 authorization, and copy and paste the code into the
29 prompt. Be sure to use the same account with the
36 switch can be used to view the HTTP transaction.
38 All parameters configuring the service may be overridden by profile components,
39 and even though only Gmail is supported out of the box, the user can define
40 new services entirely in the profile. Profile components are prefixed by
43 .I oauth-gmail-credential-file
46 should write credentials and where
49 .SH "PROFILE COMPONENTS"
53 .ta \w'ExtraBigProfileName 'u
54 ^oauth-gmail-credential-file:~^oauth-gmail
55 ^oauth-gmail-client_id:~^nmh project client_id
56 ^oauth-gmail-client_secret:~^nmh project client_secret
57 ^oauth-gmail-auth_endpoint:~^https://accounts.google.com/o/oauth2/auth
58 ^oauth-gmail-redirect_uri:~^urn:ietf:wg:oauth:2.0:oob
59 ^oauth-gmail-token_endpoint:~^https://accounts.google.com/o/oauth2/token
60 ^oauth-gmail-scope:~^https://mail.google.com/