locked
Identity Authentication Side by MongoDB doesn't work... RRS feed

  • Question

  • User-1120466787 posted

    Dear sirs,

    i have issue to authenticate the user... i wrote whole story once, but after wrong click and choose "stay on page" every thing got disapear after moving to another page... and it's late as it's mid-night. so i skip the story if you allow me, here is the codes...

    using mongoDB data structure, Microsoft Identity Interfaces, and angularjs 1.x, for both view, and admin panel, but after many tries i left the Token based authentication behind, wish to authenticate using normal methods...

    -- All files are *.RAR archive --


    Download Entity Files, and the layer above Identity - Project

    Download Identity Files - Project

    Download The file That source Codes lies within - Here is my related source code files, i tried to also attach file that may by any chance are engaged.

    PS. my vServer has too many down times, if by any change you want to help, but you can't get the rar file, containing the source code / project files, please try later.

    If by any chance i have to add more file, made some of code write in here. etc that is required during this process, please notify me, i try to fix.

    Thank you.

    Saturday, June 16, 2018 8:36 PM

All replies

  • User283571144 posted

    Hi deadManN,

    using mongoDB data structure, Microsoft Identity Interfaces, and angularjs 1.x, for both view, and admin panel, but after many tries i left the Token based authentication behind, wish to authenticate using normal methods...

    As far as I know, if you try to use identity in the MVC project, it will auto genreate a token and store the token in the client browser after user login successfully.

    If you don't want to use cookie, it is too hard to store the token to the client side.

    If user doesn't have the token, the project will redirect the user to the login page when user wants to access some new page.

    So normally we will use cookie(or other client storage) to keep the user's login information to avoid login multiple times.

    i wrote whole story once, but after wrong click and choose "stay on page" every thing got disapear after moving to another page... and it's late as it's mid-night. so i skip the story if you allow me, here is the codes...

    According to your description and codes, I couldn't understand clearly about your issue,

    Do you mean you couldn't keep the user login information after changed the page? 

    Does you application force user login after moved to another page?

    What does the wrong click and choose "stay on page mean?

    If you could post more details information, it will be more easily for us to understand your issue and find the solution.

    Best Regards,

    Brando

    Monday, June 18, 2018 6:15 AM