hlxsites / zemax

AEM Franklin Solution for https://www.zemax.com/
https://main--zemax--hlxsites.hlx.page/
Apache License 2.0
3 stars 1 forks source link

Profile: on first login, window reloads forever #211

Closed synox closed 1 year ago

synox commented 1 year ago

Reproduce: Access http://localhost:3000/pages/profile with empty local storage and no cookies in Firefox.

Because of https://github.com/hlxsites/zemax/pull/206, now the header does not wait until the access token is written into the local storage. Then when the zemax profile api is called, the token is still null.

kmurugulla commented 1 year ago

@synox - could you please take a quick look at lint issues and any conflicts so that we can merge this PR ?