This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Send User and Pass to Login Page

Former Member
Former Member
Hi there, how are you?
I'm facing a situation here and didn't solve it yet, I think you can help me.

I have a web form with a login page, after user login and I?ll perform a set of validations and I have to redirect him to MFiles BUT sending user and pass automatically, without the need os login again... and show the vault selection section...

Could you help me? I've looked everywhere and didn't get my answer.

Thanks!
  • I'm not sure you're going to be able to; just because the user has authenticated to your other system doesn't mean he'll be authenticated to M-Files Web.

    If this were me then I'd argue the best way to structure this would be to retrieve the items you need from M-Files in your other web application (via the M-Files API, or via the M-Files RESTful interface), then effectively proxy that data back to the user.

    You'd probably want to talk to your reseller about the licensing implications of this, though.

    Craig.
  • Just for complete clarity: you can set the M-Files web up so that it only shows a certain view, without some of the "chrome" (task area, etc), and you can even set it up so that it automatically logs in as a specific user. My point is, though, that it's one single user at that point. You cannot pass details to customise this view depending on the user who is logging in. Also: people could share the link to your M-Files Web installation and it would serve the same page to everyone.

    If you want to do anything more clever - which it sounds like you do, if you want the user to authenticate somewhere else, then run various validation rules - then I would look to proxy the data out of M-Files via your other application, and bypass the M-Files Web user interface completely.

    Craig.
  • Former Member
    Former Member
    Actually I think it doesn't make sense... why should I recreate all the interface if its already done? I just wanna bypass the login page, sending user and pass, to have access to M-Files.... I really wouldn't have to "work around" it ...