Checking of Management Portal credentials should happen through API or direct in the existing application. If the account was not found, ? ( where to check this) then the browser should POST the same username/password over to the Management Portal via a JS POST. ( Which Api ) This page will likely be a modified version of the existing page to be easier to integrate to the login html application, and ideally should accept JSON payload posts and respond with JSON. If we can use the exact same login page control and simply check the payload before doing the normal load to know what “mode” it’s being requested to operate in. So if the content type is application/json, then we know to check the body as JSON to get the username and password to validate against DNN. The existing DNN/Management Portal authentication process will be used, if successful then then user will be authenticated, and the back end code will migrate the users by posting a registration request to the API, which will ad...
https://www.javatpoint.com/vue-js Standalone Script Vuu Vue can be used as a standalone script file - no build step required! If you have a backend framework already rendering most of the HTML, or your frontend logic isn't complex enough to justify a build step, this is the easiest way to integrate Vue into your stack. You can think of Vue as a more declarative replacement of jQuery in such cases. Vue also provides an alternative distribution called petite-vue that is specifically optimized for progressively enhancing existing HTML. It has a smaller feature set, but is extremely lightweight and uses an implementation that is more efficient in no-build-step scenarios. <html> <head> <script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.js"></script> </head> <body> <div id="app"> <p>{{ message }}</p> </div> <scr...
Comments
Post a Comment