-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Log In/Out and CORS functionality for the Vue dev Server #2617
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of questions, but overall works as intended! Really clever work to make enabling cors a dynamic thing 🚀
You'll also want to remove Magma from the |
So I did remove it from .gitmodules and it's still failing, not sure what's going on with that... |
* Enable cors in server * cors now working with login api * return status 401 on wrong credentials * cleaning up the app_svc file a bit * change logout endpoint to stop serving template * CORS now working on localhost:3000 * Add aiohttp-cors to requirements file * Removing magma as a submodule in order to pass git tests * Remove magma submodule * Add back optional param for requirements * Add compiled front-end dist directory Co-authored-by: Adam Gaudreau <agaudreau@mitre.org> Co-authored-by: Palmer <zpalmer@mm273285-pc.lan> Co-authored-by: JamieScottC <scott.jams@gmail.com>
Description
Combo PR between myself and Jamie. Adding in the Logging in and out functionality to Magma and enabling cors on the various API routes so that we can utilize the Vue development server for front end development
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Verified that we are now able to access the API's on localhost:3000 and we are now able to login and logout as expected.
Checklist: