Hi all
I made it working to create an small PHP/HTML/JS-Application (signalR) that creates a configuration form by the initial XML of the configurator.
The application listens for repsonses of the signal R stream and sends the requests to ax during the configuration - as far as good :)
Now the whole thing works while Iam logged in dynamics ax. Because the negotiating of signalR is calling the following URL:
https://usnconeboxax1aos.cloud.onebox.dynamics.com/ProductConfiguration/signalr/negotiate?clientProtocol=1.5&connectionData=%5B%7B%22name%22%3A%22configurator%22%7D%5D&_=1537362390683
It returns the following JSON-Object:
{"Url":"/ProductConfiguration/signalr","ConnectionToken":"C7IJ66heitNAWH6zckvloY0P2iQh9TnNSwbhACy+AODDc3FF0lrl4t927ydBF+zRNQ25eioN1960SFUk5jRVqJJDaXbr87lTsmHdrx3nfriRMFP1VI1ZMupLzOxxQAhGqUE7w+yKgX/B5N72SwItU29lwH0uZRnBJIIeZkkeH8U=","ConnectionId":"4563b566-33a4-4b3b-a773-8fad3e38497f","KeepAliveTimeout":20.0,"DisconnectTimeout":30.0,"ConnectionTimeout":110.0,"TryWebSockets":false,"ProtocolVersion":"1.5","TransportConnectTimeout":5.0,"LongPollDelay":0.0}
The ConnectionToken is used for all requests agains the configurator. The problem with this url: I only can access this url when I am logged in dynamics.
If I log out the signal R-URL does not provide a token and redirects me to the microsoft login.
The target is to have an external user have access to the configurator but not AX. Is this possible?
Can you logon https://login.microsoftonline.com without the form and just by code / curl
And is there a way to allow access to one IIS application (product configurator) but nor dynamics 365?
Thanks in advace - Alex
*This post is locked for comments