This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 3 years, 6 months ago.

How to implement login page on current angular template

  • Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #790

    Hi :),

    For login form integrating you should create a new master templates(login.html) following the index.html master templates. Login and after login pages should be separated so you will have login.html and index.html master templates and on successful login you can just redirect to index.html.

    For more info you can check below links:

    http://stackoverflow.com/questions/16139660/angularjs-basic-example-to-use-authentication-in-single-page-application

    http://www.sitepoint.com/implementing-authentication-angular-applications/

    https://spring.io/blog/2015/01/12/the-login-page-angular-js-and-spring-security-part-ii

    Thanks.

     

     

    gbarcun
    gbarcun
    Participant

    Posts: 1
    Member Reply #911

    Thanks for your answer, i will follow the links in your comments. The example in stackoverflow is really interesting since it’s clever to use singleton for such an app.

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #980

    You are welcome 🙂 Good luck with your project!

You must be logged in to reply to this topic.