djpetti / MALLARD

Store image objects to MinIO object storage and metadata to MySQL database. Easily store and retrieve using metadata.
Apache License 2.0
0 stars 0 forks source link

Site sometimes fails to load #44

Closed djpetti closed 6 months ago

djpetti commented 6 months ago

This was observed on Firefox running on Windows 11, on a machine connected to the VPN where I hadn't tried loading the site before. I see the following error in the console:

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://bsailn2.ad.ufl.edu:8085/.well-known/openid-configuration. (Reason: CORS request did not succeed). Status code: (null).

This probably just means that Fief needs to be added to the list of allowed origins.

djpetti commented 6 months ago

Actually, this is an issue with the Fief configuration. There is an ALLOW_ORIGIN_REGEX environment variable that needs to be modified.

djpetti commented 6 months ago

Actually, this looks like this might be an issue with Firefox not liking the self-signed Fief certificate. It only seems to happen on Firefox, and once I manually loaded the resource it was trying to load and clicked through the warning, it worked fine. Either way, we're moving away from self-signed certificates now, so hopefully this becomes a non-issue.