Table access authorization

Options
My context is using authorizers to access AWS API's using an authentication token from client side. If we have authenticated on Xano using the user table to achieve the equivalence, so we just turn on authentication on all tables for which we have API's and pass Authorization in the header of the API? 

Comments

  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
    Typically, you'd just have authentication turned on for your user table because that's the table you authenticate against. Then you can require any of the endpoints in your application to require authentication, in which case yes the Authorization: Bearer method is used to pass a token through the header
  • mohan ramanujam
    Options
    thx. so turn on auth on one table, then have auth enabled on other api's that I want to have authorization on. Right?
  • Michael Udinski
    Michael Udinski Administrator

    ADMIN

    Options
     yup