Sandbox 101: OAuth Best Practices

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 7

  • @shurvirmori
    @shurvirmori Год назад +3

    callback part needs to be explain as live demo.

  • @joshuatrimm8213
    @joshuatrimm8213 Год назад +1

    Well... I finally figured out how to get the 'code'. You have to use the square callback in a browser or app.

    • @oldacc396
      @oldacc396 Год назад

      Man I 'm fighting with this part, any help is seriously appreciated thank you!

    • @jasondesmond1895
      @jasondesmond1895 Год назад

      ​@@oldacc396same

  • @awful999
    @awful999 8 месяцев назад

    so do we get authroization for our backend application and then use our backend application to communicate with the frontend? meaning customers who are using the frontend application don't need to handle the authroization screen?

    • @SquareDev
      @SquareDev  8 месяцев назад

      Since you need to redirect the Seller to grant you the authorization, you will need to handle part of the authorization on the frontend. The credentials you receive from the Obtain Token endpoint do need to be securely stored and only used by your backend for communicating with Square (since this token is what has access to the Seller's account, you must keep it safe).