HYLODE / HyUi

HYLODE User Interface Repository
http://hylode.org/
Apache License 2.0
3 stars 2 forks source link

Fix baserow authentication #195

Closed docsteveharris closed 1 year ago

docsteveharris commented 1 year ago

Currently using user tokens from email/password https://api.baserow.io/api/redoc/#tag/User/operation/token_auth These expire and are slow to refresh

will need to be regenerated each time the application runs https://api.baserow.io/api/redoc/#tag/Database-tokens/operation/create_database_token

then simple token auth rather than jwt

requests.get(
    "http://localhost",
    headers={
        "Authorization": "Token YOUR_DATABASE_TOKEN"
    }
)
docsteveharris commented 1 year ago

it's not clear whether this helps don't have the time to dig deeper

docsteveharris commented 1 year ago

stale; I think we should eventually move away from baserow it works 'well enough' for now though