This is a configuration and token acquisition procedure when connecting OAuth2 via HTTP communication.
BPMN Icons : [Throwing Message Intermediate Event (HTTP)], [Script Task], etc.
1. Set up Service Provider
(The settings example is in the case of Google Developer Console)
| Config. Item | Setting Example |
|---|---|
| Application Type | Web Application |
| Authentication Information | qapp |
| Authenticated redirect URI | https://s.questetra.net/oauth2callback |
2. Set up Questetra HTTP Event (OAuth Consumer)
(Select [OAuth2 Setting] in [▼App] menu of the Workflow App's [Detail] screen)
a. OAuth2
| Config. Item | Setting Example |
|---|---|
| Name | sheets-api-v4 |
| Authorization Endpoint URL | https://accounts.google.com/o/oauth2/auth?access_type=offline&approval_prompt=force |
| Token Endpoint URL | https://accounts.google.com/o/oauth2/token |
| Scope | https://www.googleapis.com/auth/spreadsheets |
| Client ID | (Get at Google Developers Console) |
| Consumer Secret | (Get at Google Developers Console) |
b. Token Fixed Value
| Config. Item | Setting Example |
|---|---|
| Name | line-api |
| Token | ABCDE_Access_Token_XYZ |
3. Get token
- Click the [Get Token] button on Questetra's OAuth 2.0 settings page
- Authorize after authentication by Service Provider
Notes
Reference: Settings when Calling REST API of Another Service from Questetra (Questetra to be OAuth2 client)
Comments
0 comments
Article is closed for comments.