Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Windows authentication - intranet scenario #56

Closed
RicLund opened this issue Feb 13, 2018 · 6 comments
Closed

Windows authentication - intranet scenario #56

RicLund opened this issue Feb 13, 2018 · 6 comments
Labels

Comments

@RicLund
Copy link

RicLund commented Feb 13, 2018

How do I configure the portal so the currently logged in Windows user is used for authentication? It seems to have changed a bit from ADX - didn't we select a System User in the Contact? I've tried tweaks to web.config to enable Windows authentication and disabled anon in IIS but with no joy.

Has anyone done this? Is it still possible with xRM Portals? I'd imagine this will be a reasonably common need so hopefully this discussion helps others in future.

@amervitz
Copy link
Contributor

Using ADFS as an identity provider would be the approach for doing this. See Configure WS-Federation provider settings for portals.

@RicLund
Copy link
Author

RicLund commented Feb 20, 2018

OK thanks, I'll look into that. I'm slightly surprised that I can't just enable Windows Authentication on the ASP.NET side and have flow through. Did this change since ADX Studio? The documentation here (first half of the article) seems to suggest that federation wasn't needed to just authenticate network users, or am I reading it wrong? https://community.adxstudio.com/products/adxstudio-portals/documentation/end-users-guide/portal-application-guide/starter-portals/intranet/

Bear in mind this isn't one of my strong areas... :-)

@kurtnelle
Copy link

Would also like a definitive answer on this. Is it that we just use the ASFS provider or does the domain have to be federated first? In my case all the users are on the intranet.

@amervitz
Copy link
Contributor

amervitz commented Feb 20, 2018

@RicLund, based on the installation media from various Adxstudio Portals versions, the intranet portal documentation and approach referenced was last relevant to v6. The intranet portal sample code was last included in v6, and removed in v7. This project is roughly equivalent to Microsoft portals v8.3, so this is an approach from 2 major versions ago.

@kurtnelle, the domain would have to be federated, ADFS is the by-product of a federated domain.

It would be advisable to use the available configuration methods in the Microsoft hosted portals documentation to keep your installation in a state that is amenable to a migration to Microsoft hosted portals.

@RicLund
Copy link
Author

RicLund commented Feb 20, 2018

Thanks @amervitz. Working with the relevant resources to see if we can make this happen in our environment. Wish me luck!

Do we want to keep this open for future reference by others on this path?

@amervitz
Copy link
Contributor

I'll close this, it'll still be visible in the closed issues list. Good luck 🍀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants