Table of Contents

Workdocs

Documentation

Developer docs, needed to implement a custom app, which will interact with documents in WorcDocs.

https://docs.aws.amazon.com/pdfs/workdocs/latest/developerguide/workdocs-dg.pdf

Example of an authentication flow for custom app

Create a “Workdocs Site” with a valid user

Create a “AWS My application” here with

Deploy some custom Web-App, which would work with “Workdocs” files and need a access_token for that:

Step1

Redirect the user, who is supposed to allow access to his workdocs files

Use URL https://auth.amazonworkdocs.com/oauth?app_id=b92764b9-0591-460d-9b66-9c5615ccfff9&auth_type=ImplicitGrant&redirect_uri=http://www.heremycustomwebapptoreceiveaccesstoken.com

As described in https://docs.aws.amazon.com/pdfs/workdocs/latest/developerguide/workdocs-dg.pdf

Step2

As a WorkDocs user I do login into the application, to approve the usage of my files by the app.

Step3

Step4

Finally I am redirected to my web-app for the URL I have passed earlier (and registered in the “my applications”)