-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.sample
More file actions
executable file
·38 lines (33 loc) · 1.45 KB
/
Copy path.env.sample
File metadata and controls
executable file
·38 lines (33 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#############################
# GET-TOKEN Environment File
# Copy this file to .env and fill in required values.
# Sections:
# [REQ] Required for OAuth token retrieval (get-token.ps1 / get_token.zsh)
# [OPT] Additional settings for e.g. token caching
# Notes:
# - Quotes around values are optional; scripts strip surrounding ' or "
# - Ensure the redirect URI (host:port/path) is registered in Azure AD
#############################
# [REQ:TOKEN] Azure AD app settings
client_id=""
client_secret=""
tenant_id=""
# [REQ:TOKEN] Callback settings
callback_host="http://localhost"
callback_port=3000
callback_path="callback"
# [REQ:TOKEN] OAuth settings (Azure AD defaults)
oauth_host="https://login.microsoftonline.com"
oauth_path="oauth2/v2.0/authorize"
oauth_token_path="oauth2/v2.0/token"
scope="https://graph.microsoft.com/Calendars.ReadWrite"
# [REQ:TOKEN] Logging / behavior for token scripts
debug=0 # print debug messages
verbose=0 # verbose trace output
auto_close_browser=1 # attempt to close browser after auth flow
auth_timeout_seconds=30 # max seconds to wait for user auth before abort
use_pkce=0 # set to 1 to use PKCE (public client; ignore client_secret)
# [OPT] Token caching (persist token across runs)
graph_token_exp=0 # token expiry timestamp / epoch placeholder
graph_token="" # existing JWT; if empty, flow will run
refresh_token="" # refresh token for silent renewals