Wettmannstaetten impot update & ofaa oaid scripts
This commit is contained in:
28
scripts/preorder/ofaa-oaid/include/config.php
Normal file
28
scripts/preorder/ofaa-oaid/include/config.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?php
|
||||
|
||||
$oauth_url = "https://sso.yio.at/auth/realms/oaid/protocol/openid-connect/token";
|
||||
|
||||
$baseurl = "https://api.oaid.at/v1";
|
||||
$client_id = "oaid.ofaa.esteiermark";
|
||||
$client_secret = "4a5b09ed-956c-4721-bb53-3a144fc5f55a";
|
||||
$tenant = "ofaa.esteiermark";
|
||||
|
||||
/*
|
||||
$baseurl = "https://api-demo.oaid.at/v1";
|
||||
$client_id = "oaid.demo.pip";
|
||||
$client_secret = "6e74e7e8-0cc2-43df-83c2-12937452b916";
|
||||
*/
|
||||
$ep_mgm_credits = $baseurl."/pip/mgm/credits/";
|
||||
$ep_list_oaids = $baseurl."/pip/codes/";
|
||||
$ep_request_oaid = $baseurl."/pip/codes/";
|
||||
$ep_confirm_oaid = $baseurl."/pip/codes/{oaid}/token/";
|
||||
|
||||
$default_scope = ["oaid:mgm:read","oaid:codes:read","oaid:codes:write"];
|
||||
$access_token = "";
|
||||
|
||||
$token_file = __DIR__."/.access_token";
|
||||
if(file_exists($token_file)) {
|
||||
$access_token = file_get_contents($token_file);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user