Auth in Aras 12

Hello guys

We have an mvc C# app and we use IOM to connect to aras.

Has anyone tried the "old" way connecting via var conn = IomFactory.CreateWinAuthHttpServerConnection(url, db); and got it successfully working on production environment? It's not working for me the impersonation does not work. The app cannot log in, but if im in my dev environment using IIS express everything is fine user is found and logs in.

Best regards

Parents
  • just an update i managed to get token or rather use the token provider

    via

    var conn = IomFactory.CreateHttpServerConnection(url, tokenProvider, ProtocolType.Standard);

    everything works in development but on production i get Invalid user name: 

    Error:Invalid user name.

    Any hints?

  • Another update

    i checked the username under which the token is generated and its the user which the application pool is running under and not the user opening the webpage. Meaning the asp.net Impersonation is not working.

    Has anyone got impersonation working?

  • Which Innovator version do you use? I have seen some changes regarding impersonation in the codetree in the latest Innovator versions when moving a test environment from 12SP7 to 12SP10. But the C# application didn´t mind.

    But I use the standard connection from development guide --> IomFactory.CreateHttpServerConnection(url, db, user, pw);

  • Hello I tried 12 sp2, 12sp5, 12sp10 (to my recollection all have same issue).

    Currently using aras 12 sp10.

    Yes standard connection (windows auth is i hope also standard connection) doesnt require impersonation since you're logging with specific user not windows identity.

    On Aras 11, the impersonation works. Im at a loss here I simply cant find where the impersonation fails but only with iom - I am assuming the issue is the IdentityServer not the IOM itself.

    The workflows for auth should be more described in the docs i think

  • Are your Innovator 12 instances fresh installed version or updates of your original Innovator 11? In my case I had a lot of trouble that the Innovator 11 ActiveDirectory IIS settings conflicted with Innovator 12 where these settings were no longer necessary. E.g. VaultServer crashes reliable once an hour and relogin of users failed after a long time of inactivity.

    The latest Programmers guide offers more information regarding Active directory sign-in. But I haven´t tried them yet.

  • They are upgrades yes from 11.

    The document i am using comes with sp9 i think 

    Document #: 12.0.02019054101 Last Modified: 05/12/2020

    I've tried quite few windows auth attempts from the pdf and all share common issue - impersonating not working

Reply Children