Prev | Next |
PostOAuthCode
Inputs
Parameter |
Details |
---|---|
code |
The OAuth code value returned to the user after successful authorization. |
Outputs via Callbacks
- AddProperty - "accessToken" to be used for OAuth
- [Optional] AddProperty - "refreshToken" for OAuth
- [Optional] LogMessage or SetError - to provide user feedback.
Details
After a successful login to the OAuth provider by the user, Enterprise Architect will call this method with the OAuth 'code'. Make an Access Token Request to exchange the code for an OAuth Access Token (using the OAuth token endpoint).
Return the accessToken and refreshToken with AddProperty.