0

I am trying to build an integration with outlook because my requirement needs the calendar to be synced to a custom object. I am able to create a connection in apex using grant flow: user logs in->gets code->get token

The problem is I want to schedule a job to auto sync the calendar every day. How can I get the code without going through the login?

2
  • 2
    Request offline scope and store the refresh token and use the refresh flow when the access token expires
    – Eric
    May 5, 2017 at 3:56
  • Thank you very much! I'm not sure how to select your comment as answer. May 10, 2017 at 0:28

1 Answer 1

0

Request offline scope and store the refresh token and use the refresh flow when the access token expires

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .