Just wondering if anyone knows of a trick to getting a Single Page App using Hot Towel (knockout, durandal & breeze) to trigger the event (assuming it's submit) that browser's hook into to prompt to save a username and password on a login form. I believe the submit event is suppressed (for obvious reasons) as it's not required in a SPA.
The only solution I can come up with at this point is to create a plain old HTML login page that triggers the loading of my SPA on login. And I guess the if there's a "pro" to this approach it's that the loading of the SPA happens during login which probably feels better in the sense of user flow because they feel like "important things are happening" during the login process...
Any idea/tips greatly appreciated.
I would suggest you go with the plain old HTML login page as this is the easiest way to get up and running quickly.
Authentication from within the SPA would require customization of each ajax API request to include a user authentication token of some sort.