Завершено

Cookie authentication bug in MEAN app

Current Situation:

We have a MEAN app authenticating via SAML. The SAML server is used by another app for authentication as well. When a user logs in via SAML, an auth cookie is created. When the MEAN app is loaded, it checks for the auth cookie, if present, it calls a node backend endpoint. The backend endpoint also checks for another signed cookie. If the signed cookie is not present, it should redirect users to the SAML login page. If the signed cookie is present, it decodes it and uses the resulting value to check for an matching session on the db. If a matching valid session is found, it retrieves and returns the user's details, and extends the session lifetime. If none is found (e.g. if it is expired or something) it returns the appropriate error message. If the response from the backend contains user's data, it is used by the frontend to set the currently logged in user. If it doesn't contain user data, a guest user is set.

NOTE: When the backend endpoint is executed directly on the browser, it is able to read the available cookies.

Expected Project Deliverable

1) Enable cookies to be detected by the backend when the endpoint is called from the frontend.

2) When the session cookie is missing / expired / invalid, but the auth cookie is present, the app should redirect to the SAML login url.

Квалификация: Angular.js, Express JS, MongoDB, node.js

Показать больше angular 4 passport authentication, angular 6 passport authentication, mean stack sample application, mean stack authentication github, mean stack facebook login, mean stack admin panel, mean stack login authentication, mean stack authentication and authorization, var current message windowopenerxoopsgetelementbyidmessagevalue, app developers message board facebook, app developers message board facebook code, iphone app picture message, net app popup message system tray, authentication web iphone app, web app text message auto responder, ruby rails app sample message board, google app engine message board, outlook forward current message script, facebook app anonymous message, vba outlook current message body

О работодателе:
( 6 отзыв(-а, -ов) ) Nairobi, Kenya

ID проекта: #18566746

Поручен:

sergaymihilovich

Hello there. I just read your description carefully and I am very interested. As a js developer, I have enough experience for MEAN stack. So I am sure I can do your job in the shortest period perfectly. Hope to wor Больше

$50 USD за 3 дней(-я)
(9 отзывов(-а))
4.6

5 фрилансеров(-а) в среднем готовы выполнить эту работу за $47

greenforest0204

Hello! I am very interested in your post project. i am really looking for this kind of project for a long time in freelancer since i have rich experience on it. I think this project is very suitable for me and i am Больше

$50 USD за 10 дней(-я)
(19 отзывов(-а))
5.2
ludwig333

Hi. I have read your description and have interests in your project. I have some experience in projects similar to yours. I am ready for your project now. I would like to have a discussion on chat to get more about Больше

$40 USD за 3 дней(-я)
(5 отзывов(-а))
4.6
Mankuthapliyal

Hi , I’d like to be considered for your job position. I’m a FullStack Developer with a strong background developing android & web application. I will make sure I don't leave you hanging as I shall get involved at ev Больше

$50 USD за 10 дней(-я)
(2 отзывов(-а))
4.8
techcaves

We are a software development firm with 5+ years experiences in multiple domains including PHP, MEAN Stack developer, mobile development and designing. We love to work with you.

$43 USD за 2 дней(-я)
(0 отзывов(-а))
0.0