question

MargePega avatar image
0 Likes"
MargePega asked Jeanette F commented

How to enable the user authentication and authorization using node js

We will need to enable the authentication and authorization using the Node JS as part of the requirements for the configuration of user authentication & access in accordance with Company web-security protocols

FlexSim 24.1.0
authentication and authorization
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

@MargePega,

Can you please provide more FlexSim-related information? What exactly are you trying to do with FlexSim where you need to add authentication?

0 Likes 0 ·
MargePega avatar image MargePega commented ·

We need to configure below items in Flexsim server using Node JS.

- Ensure that no access is provided from outside of the company

- Internal user authentication

- Standard authentication flow

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @MargePega, was Ben Wilson's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

Ben Wilson avatar image
0 Likes"
Ben Wilson answered

I assume you're referring to FlexSim's Webserver?

FlexSim's Webserver is a basic tool that allows FlexSim to be served over HTTP to a web browser. It is not meant to be a fully featured web server that enables things like encryption or authentication.

To take advantage of advanced features you'd find in fully featured web servers, the ideal solution is to proxy FlexSim's Webserver behind a fully featured webserver.

Please check out Paul Toone's recent articles on setting up behind a proxy:

That said, if you're a node.js expert and wish to modify the FlexSim Webserver yourself, after installing you can find all the .js source files in the installation directory. You can modify those as needed for your own purposes, but please be aware that we will not be able to support you in this:

C:\Program Files (x86)\FlexSim Web Server\webserver

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.