You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 3, 2019. It is now read-only.
In order to manage by my own the Firefox Authentication, I am installing the four micro services required to do it.:
fxa-auth-db-mysql -> authdb.example.com
fxa-auth-server -> auth.example.com
fxa-content-server -> content.example.com
fxa-oauth-server -> oauth.example.com
fxa-profile-server -> profile.example.com
Moreover, I do not want to use Docker because I really want to understand how it works. I was able to configure most of them except fxa-content-server.
However, I got two errors I was not able to solve when I connect to content.example.com.
The first one is about static css. Even if I specificy in server/config/production.json to load "static_directory": "dist" and "page_template_subdirectory": "dist" ; it is loaded from app directory.
That means some css and bundle.js is missing. How to fix that?
The second error I got is about geodb, I do not understand why but I got no fetch data. I replaced
"public_url":
"oauth_url":
"profile_url":
"profile_images_url": "I let the original one for this one"
Do you have some idea about that?
Thank you for your help,
Best regards,
Mirabellette
The text was updated successfully, but these errors were encountered:
Hi @mirabellette, in the last step where you do NODE_ENV=production npm start, try running npm run start-production. The start-production script points to the correct config files to load the JS & CSS from dist.
The geodb error happens often if you are connecting to a local server or from a private IP address, e.g., localhost, 127.0.0.1, 192.168.., etc. Since those are private IP addresses the DB won't have geo information about them.
Hello everyone,
In order to manage by my own the Firefox Authentication, I am installing the four micro services required to do it.:
Moreover, I do not want to use Docker because I really want to understand how it works. I was able to configure most of them except fxa-content-server.
This is the process I followed:
However, I got two errors I was not able to solve when I connect to content.example.com.
The first one is about static css. Even if I specificy in server/config/production.json to load "static_directory": "dist" and "page_template_subdirectory": "dist" ; it is loaded from app directory.
That means some css and bundle.js is missing. How to fix that?
The second error I got is about geodb, I do not understand why but I got no fetch data. I replaced
Do you have some idea about that?
Thank you for your help,
Best regards,
Mirabellette
The text was updated successfully, but these errors were encountered: