The authorization server validates the user credentials. While this choice is outside of OpenEdge, this decision affects the configuration of the OpenEdge Authentication Gateway. OESECTOOL is a utility designed for test environments. It allows Security Administrators to test OAuth2 configurations.
Note: OESECTOOL requires a separate installation.

For more information on installation, see Install OESECTOOL.

Add users

To simulate the authentication server, add the user information to OESECTOOL configuration.

  1. Edit the oesectool/conf/oesectool-oauth2.properties.
  2. Add a new user, test1 by copying user1 and updating the details.
    #users
    sectool.user.id=
    sectool.user.ids=user1,user2,test1
    ...
    test1.sub="test1@progress.com"
    test1.preferred_username="test1@progress.com"
    test1.given_name="Test"
    test1.family_name="User"
    test1.name="Test User"
    test1.email="test1@progress.com"
    test1.locale="US"
    test1.id="00u2r1xc0gHQXeghc5e7"
    test1.zoneinfo="America/Burlington"
    test1.scope="PSCUser"
Note: The test utility uses the sub and the scope during the token exchange.

Start an authentication server using OESECTOOL

  1. On the server machine, use the OESECTOOL command to start a test OAuth2 Authentication Server.
    proenv>oesectool\bin\oesectool startoauth2server -port 8888 
For more information on authorization servers, see Identify the authorization server.

For more information on the OESECTOOL utility, see OESECTOOL.