Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.91 KB

README.md

File metadata and controls

36 lines (31 loc) · 1.91 KB

Jarboo.Websites.Admin

Trello integration

  1. Log in
  2. Retrieve API key
  3. Using API key request token with next url:
  1. Set web.config's TrelloApiKey and TrelloToken app settings
  2. Integration complete

Google Drive integration

  1. Enable the Drive API
  2. Go to the Google Developers Console
  3. Select a project, or create a new one
  4. In the sidebar on the left, expand APIs & auth. Next, click APIs. In the list of APIs, make sure the status is ON for the Drive API.
  5. Register client
  6. In your project menu on the left, select APIs & auth / Credentials
  7. Press Create new Client ID
  8. Select Web application
  9. Fill consent info
  10. Authorized JavaScript origins: SITE_URL (e.g. http://localhost:8000)
  11. Authorized redirect URIs: SITE_URL/AuthCallback/IndexAsync (e.g. http://localhost:8000/AuthCallback/IndexAsync)
  12. Set web.config's GoogleClientId and GoogleClientSecret app settings
  13. Request refresh token
  14. Log in google account with Drive
  15. Open web application and go to SITE_URL/admin/requestrefreshtoken (e.g. http://localhost:8000/admin/requestrefreshtoken)
  16. Permit access for application to the Google Drive
  17. Copy refresh token to web.config's GoogleRefreshToken app setting
  18. Integration complete

In order to rerequest refresh token you need to disconnect application from Drive first.