Authentincate to Nav from .Net application

LnZ
Member Posts: 37
Hi,
I'm trying to authenticate to Nav from an external .Net application without any success, what I would like to do is it to show an RTC or Web Client page (it is the same) in my own application, so I'm trying to pass credentials to get logged in.
I have tried setting both using windows credential both NavUserPassword, as any one done something like that?
Thank you
LnZ
I'm trying to authenticate to Nav from an external .Net application without any success, what I would like to do is it to show an RTC or Web Client page (it is the same) in my own application, so I'm trying to pass credentials to get logged in.
I have tried setting both using windows credential both NavUserPassword, as any one done something like that?
Thank you
LnZ
0
Best Answer
-
from further investigations with microsoft it seems that we will have to write a custom sts and use claim authentication with Nav5
Answers
-
How are you calling NAV from your application?Kyle Hardin - ArcherPoint0
-
Hi Kylehardn,
I have tried different ways: passing windows credentials, basic auth, web request... without any succcess.
Thank You
LnZ0 -
We use O365 authentication to show NAV pages on an external website (SharePoint in our case) in an IFRAME. - Since the user authenticated to the SharePoint Page is the same user as the NAV user , O365 single-sign-on handles all authentication automatically.
Afaik this also works with Windows Authentication if the calling application is inside the domain and the user logged into the computer is also a NAV user.
[ You need to modify the NAV web server configuration however, to allow NAV pages to be shown inside an IFRAME - comment out the line:<add name="X-FRAME-OPTIONS" value="SAMEORIGIN" />
Please also check your license - you might run into issues there if the user using the page is not a NAV licensed user.
Jan Veenendaal0 -
Try use the following combination in the CustomSettings.config of the service:
<add key="ClientServicesCredentialType" value="Windows"/> <add key="ServicesUseNTLMAuthentication" value="true"/>
0 -
from further investigations with microsoft it seems that we will have to write a custom sts and use claim authentication with Nav5
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions