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

how does the first leg of Oauth work when using 'http://localhost/blah' in the app's redirect uri?

回答済み
新規投稿

コメント

2件のコメント

  • pgoldweic

    OK, I figured this out already. I had imagined that Box would be 'smart' enough to figure out the address of my hostname when using 'localhost' in the redirectURI, but this is obviously not what happens, and I really needed to have the code running on 'localhost:port' for it to work. Once I did this, it worked as expected.

    0
    コメントアクション パーマリンク
  • rocks

    Glad that you managed to get to the bottom of this.

     

    here is a little bit more about the "redirect_uri" field from our developer.box.com reference documents

     

    Redirect_Uri - An HTTPS URI or custom URL scheme where the response will be redirected. Must be https and also be registered within the Box app management console. In development, local http hosts are also accepted as outlined in the tutorial below

    Tutorial: https://docs.box.com/docs/oauth-20

    0
    コメントアクション パーマリンク

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