-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathc8oProject.yaml
55 lines (48 loc) · 3.91 KB
/
c8oProject.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
↑convertigo: 8.0.0.m006
↓lib_OAuth [core.Project]:
comment: |
'# OAuth library to perform authentication
This is the OAuth Library for Convertigo applications. This library is used in conjunction with the [OAuth](https://doc.convertigo.com/documentation/latest/reference-manual/convertigo-objects/mobile-application/components/action-components/oauth-openid) Action to perform SSO Login to Convertigo Apps.
## Symbols
| Symbol | Usaqe |
|----------------------------|-------------------------------------------------|
|lib_oauth.azuread.clientid | The Azure Active Directory Client ID |
|lib_oauth.azuread.tenantid | The Azure Active Directory Tenant ID |
|lib_oauth.github.clientid | The GitHub Client ID |
|lib_oauth.github.keysecret.secret | The Azure Active Directory Client Secret |
|lib_oauth.google.clientid | The Google Client ID |
|lib_oauth.google.keysecret.secret | The Azure Active Directory Client Secret |
|lib_oauth.linkedin.clientid | The LinkedIn Client ID |
|lib_oauth.linkedin.keysecret.secret | The LinkedIn Client Secret |
|lib_oauth.openid.clientid | The Openid Client id |
|lib_oauth.openid.clientsecret.secret | The Openid Client Secret |
|lib_oauth.openid.introspect_url | The Openid introspect API endpoint URL |
## Best Practices
Client secrets must never be embedded in the client applications. The best way to use them in the *OAuth* Action is to call the *GetOAuthCredentials* sequence to retrieve on the client side the necessary credentials.
## Configure the OAuth / OpenID providers
Follow the https://doc.convertigo.com/documentation/latest/reference-manual/convertigo-objects/mobile-application/components/action-components/oauth-openid instructions to learn on how to configure your OAuth IDP.
'
contextTimeout: ${lib_OAuth.context.timeout=60}
httpSessionTimeout: ${lib_OAuth.http_session.timeout=60}
version: 8.0.0.1
↓GitHubOAuth [connectors.HttpConnector]: 🗏 connectors/GitHubOAuth.yaml
↓GoogleOAuth [connectors.HttpConnector]: 🗏 connectors/GoogleOAuth.yaml
↓LinkedInApi [connectors.HttpConnector]: 🗏 connectors/LinkedInApi.yaml
↓LinkedInOAuth [connectors.HttpConnector]: 🗏 connectors/LinkedInOAuth.yaml
↓MicrosoftGraphApi [connectors.HttpConnector]: 🗏 connectors/MicrosoftGraphApi.yaml
↓OpenID [connectors.HttpConnector]: 🗏 connectors/OpenID.yaml
↓checkAccessOpenID [sequences.GenericSequence]: 🗏 sequences/checkAccessOpenID.yaml
↓checkAccessToken [sequences.GenericSequence]: 🗏 sequences/checkAccessToken.yaml
↓checkAccessTokenGoogle [sequences.GenericSequence]: 🗏 sequences/checkAccessTokenGoogle.yaml
↓checkAccessTokenLinkedIn [sequences.GenericSequence]: 🗏 sequences/checkAccessTokenLinkedIn.yaml
↓GetOAuthCredentials [sequences.GenericSequence]: 🗏 sequences/GetOAuthCredentials.yaml
↓listGroupsAzureAd [sequences.GenericSequence]: 🗏 sequences/listGroupsAzureAd.yaml
↓loginAzureAdWithAccessToken [sequences.GenericSequence]: 🗏 sequences/loginAzureAdWithAccessToken.yaml
↓loginGitHubWithCode [sequences.GenericSequence]: 🗏 sequences/loginGitHubWithCode.yaml
↓loginGoogleWithCode [sequences.GenericSequence]: 🗏 sequences/loginGoogleWithCode.yaml
↓loginLinkedInWithCode [sequences.GenericSequence]: 🗏 sequences/loginLinkedInWithCode.yaml
↓loginOpenIDWithAccessToken [sequences.GenericSequence]: 🗏 sequences/loginOpenIDWithAccessToken.yaml
↓setLastConnected [sequences.GenericSequence]: 🗏 sequences/setLastConnected.yaml
↓SignOut [sequences.GenericSequence]: 🗏 sequences/SignOut.yaml
↓project [references.ProjectSchemaReference]:
projectName: lib_UserManager