Hello,
What you're trying to do is building an authentification portal for your user and them allow them the access to your VPN network.
I can help you to build a webapp that does this job with contacting the backend.
Many languages available.
Please contact me.