Need Help on Authentication Process

新規投稿

コメント

2件のコメント

  • Bibek

    Hi Tanzeem,

    You can go through this FAQ:

    https://community.box.com/t5/Developer-Forum/FAQ-Box-Platform-and-APIs/m-p/14768#U14768

    refrer to  the section "How do I automate the generation of OAuth tokens or run a server-side solution?"

    The verdict is : you will have to use the "RefreshToken" that you obtained during the first call to obtain NEW tokens. And the new tokens will have both NEW  Access and Refresh token. and again after hour you request new tokesn.  Hope this helps.

     

    thanks,

    Bibek

    0
    コメントアクション Permalink
  • sudhavasiraju

    Hi

      If I want to implement server-side solution without user interaction, as per my understanding, I need to save Access token and Refresh token on some flat file/DB (considering server downtime) and use refresh method every time by setting those values to api connection. Is that correct? 

     

    Thanks

    Sudhakar

    0
    コメントアクション Permalink

サインインしてコメントを残してください。