-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
32 lines (20 loc) · 1005 Bytes
/
Copy path.env.example
File metadata and controls
32 lines (20 loc) · 1005 Bytes
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
# OAuth 2.0 Client Credentials
# REDIRECT_URLS must follow this structure:
# http://<host>:<port>/<non-root-path>
# Example:
# http://localhost:3000/callback
#
# Multiple URLs can be provided (comma-separated), but only the FIRST one will be used
# by the scripts in this repository.
# Notes:
# - Port must be specified or the server will default to 80.
# - Path must not be just '/' — it must include a valid endpoint like '/callback'.
# - For PKCE, there CANNOT be a port in the redirect URL in the developer portal app registration, but there must be one here in the .env file. The path needs to be same, however.
APP_NAME=your_app_name_here
APP_KEY=your_app_key_here
AUTHORIZATION_ENDPOINT=https://sim.logonvalidation.net/authorize
TOKEN_ENDPOINT=https://sim.logonvalidation.net/token
GRANT_TYPE=grant-type
OPEN_API_BASE_URL=https://gateway.saxobank.com/sim/openapi/
REDIRECT_URLS=http://localhost:3000/callback, http://localhost:3000/redirect
APP_SECRET=your_app_secret_here