-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error getting auth URL due to untrusted authority #60
Comments
What value do you have for |
Thank you jasonjoh for your response. I am establishing a server internally, but I am using the tenant ID provided by my colleague as below. |
Hmm. Are you sure the tenant ID is correct? I've never seen this error or had to do any configuration of "knownAuthorities", not sure where that setting is. |
Thank you. I confirmed that the tenant ID is correct. Is it mandatory to run the server as a root user? |
It should not be mandatory to run the server as a privileged user, but I'm guessing you were setting the port to something other than the 3000 default? I believe that you do have to run as a privileged user to use the default HTTP/HTTPS ports on Linux. |
I did not change the value of AUTHORITY same as documentation, but I also got the same issue. |
@errorstudent can you provide more information? What OS are you running on? Have you changed the default port? AzureAD/microsoft-authentication-library-for-js#2600 seems relevant |
Dear jasonjoh, Thank you for your advise. |
Hello. I followed your tutorial and tried to build a server. (my own APP_ID, APP_SECRET and AUTHRITY in .env)
When I started the server, once I logged in, it returned the Error getting auth URL as below.
(Strangely, if I start the server with sudo privilege, it works without error.)
I am not sure but it seems that the provided authoirty in .env is not regarded as a trusted authority.
If possible, please advise me how I can include this authority in the knownAuthorities config parameter?
Thank you for your kind attention!
The text was updated successfully, but these errors were encountered: