Comments (3)
Sweet! Unfortunately bandwidth from our side is super slim these days, but happy to guide whoever may stumble across this.
Regarding Feature Request 1:
- With the Userbase prod plan, it may be easier to just create 2 different Userbase apps: a test app and a prod app.
- You can already add/remove domains to/from the whitelist!
from userbase.
@j-berman - Thanks!
Request 1 - Can this be through the Admin API ? I couldn't find that in the document besides Get and List apps.
My use case, I will be allow my end users to create a Userbase app for their site (my tools helps makes sites of sorts). So the idea would be to use Userbase. Just create an App for them (through the API) and allow them to edit settings from within my app.
https://userbase.com/docs/api/
I found these files:
https://github.com/smallbets/userbase/blob/master/src/userbase-server/server.js
https://github.com/smallbets/userbase/blob/master/src/userbase-server/app.js
I tried to POST to admin/app/create-app with the auth token and appName and encryptionMode, but it gave a response, Please sign in.
Maybe its a simple ish thing to expose the create-app & update-app? Or is there more security risks for this?
from userbase.
For these routes: (server.js)
v1Admin.post('/create-app', admin.authenticateAdmin, appController.createAppController)
POST '/apps/:appId/domain' & POST '/stripe/connected/apps/:appId/trial-period',
They use: 'admin.authenticateAdmin'
If I create another version like /create-app-token and use admin.authenticateAccessToken that works locally.
Is that something we can add?
It works locally, but I am having trouble on how to actually host Userbase with EC2.
from userbase.
Related Issues (20)
- shareDatabase issues
- Feature request: metered trials as opposed to timed trials HOT 3
- forgotPassword with server-side-encryption HOT 1
- Feature Request: 2FA
- How to read a database with admin API? (Question) HOT 4
- How to remove a database? HOT 3
- [userbase-js] passwordHashAlgo is missing in types
- Automatic Tax Collection with Stripe HOT 4
- Close Userbase Node HOT 2
- Prevent registration, or limit app users to 1 HOT 2
- Error "Buffer2 is undefined" when using userbase-js with SvelteKit HOT 3
- Is this project still alive? HOT 1
- sessionLength not being respected, ending early HOT 10
- All users can view all other items created.
- Feature Request: Verify user during signup to avoid dump email ids.
- Service Unavailable for the last couple of days HOT 3
- Missing Data Stored HOT 2
- Third Party Cookie Issues with Stripe
- ServiceUnavailable: Service unavailable. HOT 2
- getItem database API? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from userbase.