Find Jobs
Hire Freelancers

Cookie authentication bug in MEAN app

$40-50 USD

Abgeschlossen
Veröffentlicht vor etwa 5 Jahren

$40-50 USD

Bezahlt bei Lieferung
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.
Projekt-ID: 18566746

Über das Projekt

5 Vorschläge
Remote Projekt
Aktiv vor 5 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
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 work with you. Best regards. Alex.
$50 USD in 3 Tagen
5,0 (9 Bewertungen)
4,6
4,6
5 Freelancer bieten im Durchschnitt $47 USD für diesen Auftrag
Avatar des Nutzers
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 sure i can give you good result . If you award me for your project, you will get good result . please call me Dmitrii. looking forward to work with you. thanks regards
$50 USD in 10 Tagen
4,9 (19 Bewertungen)
5,2
5,2
Avatar des Nutzers
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 your project. Thanks.
$40 USD in 3 Tagen
5,0 (5 Bewertungen)
4,6
4,6
Avatar des Nutzers
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 in 2 Tagen
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von KENYA
Nairobi, Kenya
5,0
6
Zahlungsmethode verifiziert
Mitglied seit Aug. 13, 2010

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.