kych.conf.example (1308B)
1 [kych-oauth2-gateway] 2 #HOST = 3 #PORT = 4 UNIXPATH = 5 UNIXPATH_MODE = 666 6 DATABASE = 7 NONCE_BYTES = 32 8 TOKEN_BYTES = 32 9 AUTH_CODE_BYTES = 32 10 AUTH_CODE_TTL_MINUTES = 10 11 #ALLOWED_SCOPES = {family_name, given_name, birth_date} 12 13 VC_TYPE = betaid-sdjwt 14 VC_FORMAT = vc+sd-jwt 15 VC_ALGORITHMS = {ES256} 16 VC_CLAIMS = {family_name, given_name, birth_date, sex, place_of_origin, birth_place, nationality, portrait, personal_administrative_number, age_over_16, age_over_18, age_over_65, age_birth_year, document_number, issuance_date, expiry_date, additional_person_info, reference_id_type, reference_id_expiry_date, verification_type, verification_organization, issuing_authority, issuing_country} 17 18 # ---- Clients (one section per client) ---- 19 20 [client_example] 21 CLIENT_ID = 1 22 CLIENT_SECRET = secret 23 VERIFIER_URL = https://swiyu-verifier9999.ch 24 VERIFIER_MANAGEMENT_API_PATH = /management/api/verifications 25 REDIRECT_URI = https://kych-oauth2-gateway-client.com/kych-providers/kych-redirect 26 ACCEPTED_ISSUER_DIDS = {did:tdw:trust_this_issuer} 27 28 # [client_2] 29 # CLIENT_ID = client_staging_01 30 # CLIENT_SECRET = another_secret 31 # VERIFIER_URL = https://verifier-staging.example.com 32 # VERIFIER_MANAGEMENT_API_PATH = /api/v1/verifications 33 # REDIRECT_URI = https://staging.example.com/callback 34 # ACCEPTED_ISSUER_DIDS = {did:key:staging1}