We tried to make billing backendless
useautumn.com
We tried to make billing backendless
1–10 of 43 posts
Re: We tried to make billing backendless
#2A JWT with the customer_id (or surrogate) in would let you do that in serverless function.
Re: We tried to make billing backendless
#3I'm left with the sense that this is a sort of solution that's trying to do auth permissions via the billing process, without calling it auth. Any access token you'd set up for auth with roles or permissions can give you access to both a customerId and whatever access grants you'd want to give.
Re: We tried to make billing backendless
#4Re: We tried to make billing backendless
#5Re: We tried to make billing backendless
#6I am mostly an embedded/Linux driver engineer, but I think I know the basics of HTTP, REST APIs, Docker containers, how the web works overall etc.
But, like. What are we doing?
What do you mean make the billing backendless? Obviously there has to be a backend to process the payment. What are you even saying? You are presumably not building a distributed blockchain - and even that requires permanent nodes.
Same with serverless (which are just Edge Functions and could just be called that, or serviceless, if you really wanted to define it negatively).
If these people named NoSQL, it would be called databaseless.
Re: We tried to make billing backendless
#7I find everything about web technology nowadays to be extremely obtuse. I am mostly an embedded/Linux driver engineer, but I think I know the basics of HTTP, REST APIs, Docker containers, how the web works overall etc. But, like. What are we doing? What do you mean make the billing backendless? Obviously there has to be a backend to process the payment. What are you even saying? You are presumably not building a dist…
That will be $6.62607015e-34 please.
Re: We tried to make billing backendless
#8You should look deeper into JWTs and what you can do with them. Sounds like you are on the way to reinventing them.
Re: We tried to make billing backendless
#9Why can't they be authenticated? That seems like the obvious fix. Otherwise how you are handing out the correct customer_id unless you authenticate somehow?
This scheme also complicates API key rotation, although you can work around it by trying to decrypt with both the old and new key if you use e.g. authenticated encryption.
This also has no mechanism for expiration (besides API key rotation). If you add an expiration time and sign it, then you essentially created an authentication token that you use as the customer_id.