新しいBoxサポートサイトへようこそ。 変更点の詳細はこちらをご確認ください .

Way how to connect existed box storage via server side

新規投稿

コメント

3件のコメント

  • Alex Novotny

    Hello, 

    We have quite a bit of documentation on this topic on our developer site. Please refer here. Based on your description, I think our Oauth 2.0 authentication type works the best.

    Alex, Box Developer Advocate

    0
    コメントアクション Permalink
  • Roman L

    Hi Alex, thanks for reply

    But as I mentioned above I need that my web app make some API calls in automate mode (like nightly check does file still exists).
    And in this case i think that OAuth is not what I'm looking for because it needs user actions "OAuth 2.0 requires the application to redirect end-users to their browser to login to Box and authorize the application to take actions on their behalf."
    Or I mistaken and this action needs only once during first connection?

    Anyway I'd like to use something like server side auth.
    Like secret key or something like this.
    I know that Box have App Token Auth but I can't get how owner of Box storage (when he creates Box App and connects it to my web app) can give access this (created and connected to my web app) Box App to his Box Storage?

    Again thanks a lot for your answers

    0
    コメントアクション Permalink
  • Alex Novotny

    When you go through the OAuth flow, you get an access token that's good for 60 minutes.... and a refresh token that is good for 60 days... The only reason they would need to go through the grant access screen again is if its post-60 days from when they set it up initially. 

    0
    コメントアクション Permalink

投稿コメントは受け付けていません。