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 (1055B)


      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 # Converter that converts OAuth2.0 data about the user
     13 # into GNU Taler standardized attribute data.
     14 #
     15 # This is just an example, you need to pick the right converter
     16 # for the provider!
     17 #
     18 KYC_OAUTH2_CONVERTER_HELPER = taler-exchange-kyc-oauth2-converter.sh
     19 
     20 # How long is the KYC check valid?
     21 KYC_OAUTH2_VALIDITY = forever
     22 
     23 # URL where we initiate the user's login process
     24 KYC_OAUTH2_AUTHORIZE_URL = https://kyc.example.com/authorize
     25 # URL where we send the user's authentication information
     26 KYC_OAUTH2_TOKEN_URL = https://kyc.example.com/token
     27 # URL of the user info access point.
     28 KYC_OAUTH2_INFO_URL = https://kyc.example.com/info
     29 
     30 # Where does the client get redirected upon completion?
     31 KYC_OAUTH2_POST_URL = http://example.com/thank-you
     32 
     33 # For authentication to the OAuth2.0 service
     34 KYC_OAUTH2_CLIENT_ID = testcase
     35 KYC_OAUTH2_CLIENT_SECRET = password