As per the documentation here[1], window.location.protocol includes the colon ("http:", "https:") but in generating baseUrl, '://' is used resulting in double colon. This causes login failure due to wrong URL generated in some browsers.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines at web-app/.github/CONTRIBUTING.md.
Description
As per the documentation here[1], window.location.protocol includes the colon ("http:", "https:") but in generating baseUrl, '://' is used resulting in double colon. This causes login failure due to wrong URL generated in some browsers.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!
[x] If you have multiple commits please combine them into one commit by squashing them.
[x] Read and understood the contribution guidelines at
web-app/.github/CONTRIBUTING.md
.[1] https://www.w3schools.com/jsref/prop_loc_protocol.asp