exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

kyclogic-oauth2.conf (1215B)


      1 # This file is in the public domain.
      2 
      3 # Example Oauth2.0 provider configuration.
      4 
      5 [kyc-provider-example-oauth2]
      6 
      7 COST = 42
      8 LOGIC = oauth2
      9 USER_TYPE = INDIVIDUAL
     10 PROVIDED_CHECKS = EXAMPLE_DO_NOT_USE
     11 
     12 # Fallback lifetime for a provider process when the provider does not report
     13 # its own expiration.  Optional, defaults to one day.
     14 KYC_PROCESS_TIMEOUT = 1 day
     15 
     16 # Converter that converts OAuth2.0 data about the user
     17 # into GNU Taler standardized attribute data.
     18 #
     19 # This is just an example, you need to pick the right converter
     20 # for the provider!
     21 #
     22 KYC_OAUTH2_CONVERTER_HELPER = taler-exchange-kyc-oauth2-converter.sh
     23 
     24 # How long is the KYC check valid?
     25 KYC_OAUTH2_VALIDITY = forever
     26 
     27 # URL where we initiate the user's login process
     28 KYC_OAUTH2_AUTHORIZE_URL = https://kyc.example.com/authorize
     29 # URL where we send the user's authentication information
     30 KYC_OAUTH2_TOKEN_URL = https://kyc.example.com/token
     31 # URL of the user info access point.
     32 KYC_OAUTH2_INFO_URL = https://kyc.example.com/info
     33 
     34 # Where does the client get redirected upon completion?
     35 KYC_OAUTH2_POST_URL = http://example.com/thank-you
     36 
     37 # For authentication to the OAuth2.0 service
     38 KYC_OAUTH2_CLIENT_ID = testcase
     39 KYC_OAUTH2_CLIENT_SECRET = password