![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |
Table 119 OAuth Server Transport and Port The default value is 9322. The default value is 9333.
• On the home page of Config UI, go to Gateway Engine Properties > Security > OAuth WebApps SSL.
• Set the OAuth SSL properties. See OAuth WebApps SSL for detailsBased on the type of OAuth flow, the endpoint to request an access token requires different parameters. See Token Request API for details.The client credential flow is used when you want to access the target services using any trusted application. See Client Credential for details.
http://ASGServerHost:httpPort/asg/oauth2/access_token?grant_type=client&client_id=CLIENT_ID_VALUE&client_secret=CLIENT_SECRET_VALUE
• ASGServerHost is the machine running the Core Engine.
• httpPort is the port value for HTTP transport.
• CLIENT_ID_VALUE is the client ID of the registered application.
• CLIENT_SECRET_VALUE is the client secret of the registered application.See Password Credential for details.
−
−
Table 121 Token Request Endpoint for Password Flow http://ASGServerHost:httpPort/asg/oauth2/access_token?grant_type=password&client_id=CLIENT_ID_VALUE&client_secret=CLIENT_SECRET_VALUE&username=USERNAME&password=PASSWORD
• ASGServerHost is the machine running the Core Engine.
• httpPort is the port value for HTTP transport.
• CLIENT_ID_VALUE is the client ID of the registerted application.
• CLIENT_SECRET_VALUE is the client secret of the registerted application.
• USERNAME is the username required for application.
• PASSWORD is the password required for application.See Authorization Code for details.
http://ASGServerHost:httpPort/asg/oauth2/authorize?response_type=code&client_id=CLIENT_ID_VALUE&client_secret=CLIENT_SECRET_VALUE&state=STATE_VALUE&redirect_uri=REDIRECT_URL_VALUEhttp://ASGServerHost:httpPort/asg/oauth2/authorize?response_type=code&client_id=237-924f4a26-f1a5-4934-a17a-69c22bd52dbe&client_secret=809950e0-c21c-4f84-8dab-239dba1c3187&state=xyz&redirect_uri=https%3A%2F%2Fclient%2Eexample%2Ecom%2Fcb
http://ASGServerHost:httpPort/asg/oauth2/access_token?grant_type=authorization_code&client_id=CLIENT_ID_VALUE&client_secret=CLIENT_SECRET_VALUE&code=AUTH_CODE_VALUE&redirect_uri=REDIRECT_URL_VALUEhttp://ASGServerHost:httpPort/asg/oauth2/access_token?grant_type=authorization_code&client_id=237-924f4a26-f1a5-4934-a17a-69c22bd52dbe&client_secret=809950e0-c21c-4f84-8dab-239dba1c3187&code=SplxlOBeZQQYbYS6WxSbIA&redirect_uri=https%3A%2F%2Fclient%2Eexample%2Ecom%2Fcb
• ASGServerHost is the machine running the Core Engine..
• httpPort is the port value for HTTP transport.
• CLIENT_ID_VALUE is the client ID of the registerted application.
• CLIENT_SECRET_VALUE is the client secret of the registerted application.
• STATE_VALUE is an arbitrary string that is returned in the callback.
• AUTH_CODE_VALUE is the authorization code.
• REDIRECT_URL_VALUE is the URL of the third party application which performs the authentication process.
![]() |
Copyright © Cloud Software Group, Inc. All Rights Reserved |