Allow server side use / Expose api_key #123
Closed
ggcaponetto
started this conversation in
General
Replies: 1 comment 1 reply
-
Hm, I'm not sure I want to expose endpoints like this as a feature, but it's fine if folks want to do it. If others have a need for this please share your use case. And @ggcaponetto if you already have a server why not just make your own payments system? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What I want to do
I would like to have a backend service that performs task if a user has a paid subscription.
Currently the
extpay
package does not run outside of the browser environment. I thought of writing my own node.js script that fetches the user in my own backend like this library does:For this reason I would like the
api_key
to be exposed by a new thegApiKey()
function.I would be happy to work on a PR if this makes sense to the maintainer and/or ther users.
Workaround
Get the key yourself.
Cheers
Giuseppe
Beta Was this translation helpful? Give feedback.
All reactions