; Constants used for oauth2 authentication over IMAP
;
; Once you edit this file, you must move it to the directory defined by
; app_data_dir in your hm3.ini file. You will also need to re-run the
; config_gen.php script.
;
; SECURITY ALERT ! MAKE SURE THAT THIS FILE IS NOT ACCESSIBLE BY THE BROWSER !
;
; Currently there are only two popular E-mail providers supporting IMAP/oauth2,
; Outlook and Gmail. In order to use oauth2 you must create a web application
; that generates a client id, client secret and a redirect URI, then define them
; in this file.
;
; Outlook.com https://account.live.com/developers/applications/
; Gmail: https://console.developers.google.com/project
;

[gmail]
client_id=""
client_secret=""
client_uri=""
auth_uri="https://accounts.google.com/o/oauth2/auth"
token_uri= "https://www.googleapis.com/oauth2/v3/token"
refresh_uri="https://www.googleapis.com/oauth2/v3/token"

[outlook]
client_id=""
client_secret=""
client_uri=""
auth_uri="https://login.live.com/oauth20_authorize.srf"
token_uri="https://login.live.com/oauth20_token.srf"
refresh_uri="https://login.live.com/oauth20_token.srf"

