License authority check
Closes #597 (closed)
Merge Request Checklist
-
changelog.md has been updated if required -
Documentation has been updated -
Quality Standards are met -
The UI/UX has been updated following UI Style Guide -
The redoc API pages have been updated for any REST API changes -
The per database user API docs page has been updated for any REST API changes made to endpoints which can be accessed via a user created token -
Has performance been considered and tested when appropriate? Ideally Baserow should be performant when working with hundreds of thousands of rows -
New/Changed Premium features are separated correctly in the premium folder -
There are tests for and it has been checked that any changed/new django ORM code is sensible, doesn't perform N queries and that table models are not generated needlessly or generated with all columns when only a few are needed.
TODO
-
Replace the authority URL with something that would work in production. -
Replace the public key with something that would work in production.
How to test
- In order to test the authority check, you must run both this version and the SaaS version (https://gitlab.com/bramw/baserow-saas/-/merge_requests/106) at the same time. For now, it expects the authority to run on
http://172.17.0.1:8001
which is the a connection SaaS version running on the host. This will be replaced withhttps://api.baserow.io
in before merging this.
Edited by Bram Wiepjes