introduce the vatsim oauth logic

This commit is contained in:
Sven Czarnian
2022-11-01 23:40:45 +01:00
parent bb9044698d
commit 566762a36c
7 changed files with 188 additions and 139 deletions

View File

@@ -1,4 +1,10 @@
database:
host: 'localhost'
port: 27017
name: 'aman'
name: 'aman'
vatsim-auth:
base-url: 'https://auth-dev.vatsim.net'
token-endpoint: 'oauth/token'
user-endpoint: 'api/user'
client-id: '461'
client-secret: 'kMAuQeIa4TvfZOIZw0t5AA5G5PA0UKTehtSASYdI'