Currently, I have a WordPress website which takes care of my user management. Separately I have a GitLab server and single-page application (node.js).
I am about to build CLI which will allow users to a) download certain resources b) upload certain files to their account.
I would like to maintain single user repository for all services so that user didn't have to register separately + I would like to bind some logic like if user purchased something on WordPress he is allowed to download it via CLI or get access to certain git repository on GitLab.
I know that WP, Node and GitLab support Active Directory, LDAP and Kerberos however I am not sure whether this is the best solution. My personal experience with AD was mostly in Windows environment to get access to different directories.
Summary:
Stack: services/applications:
Question:
If you are using WordPress, you need to use WP REST API. For example, you can use this solution, as you use JS, also see to the side with API solutions like this.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With