Aidbox / Issues

Issue tracker for Aidbox FHIR backend by Health Samurai
7 stars 0 forks source link

[BUG] csrf token is invalid on login page #541

Closed PavanPatro-Innovaccer closed 1 year ago

PavanPatro-Innovaccer commented 1 year ago

Describe the bug We are receiving CSRF token invalid error while accessing the aidBox using the client credentials. The error says " CSRF token is invalid . This error may occur when multiple login pages were opened . Please, try to log-in again" The behaviour is erratic though and causing a lot of issues. Have attached a screenshot for your reference .

Screenshot 2022-10-12 at 3 48 07 PM

Severity Critical

Steps to reproduce the behavior: login to https://roche-develop-fhir.innovaccer.net/ with client credentials : Username /password:

-->

Expected behavior To have a seamless login experience.

Screenshots

Versions:

krevedkokun commented 1 year ago

hello, @PavanPatro-Innovaccer. it looks like you forgot to setup encryption key on that box. please follow steps described here and let us know if it fixed this issue for you

krevedkokun commented 1 year ago

@PavanPatro-Innovaccer we moved second bug to separate issue https://github.com/Aidbox/Issues/issues/542

VarvaraSemenova commented 1 year ago

Hi @PavanPatro-Innovaccer, Do you have more than one replica for this Aidbox instanсe? If yes, you have to set up BOX_AUTH_KEYS_SECRET env to fix the issue