Posts: 147
Threads: 34
Joined: Jun 2018
Reputation:
3
Location: USA
I am working on an identity server integration with IW.
I need to receive a http post from the identity server back to IW after the identity server has validated the username and password.
What is the best way to receive this post? Through a TContentHandler?
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
Yes content handlers are the method to use.
Posts: 227
Threads: 4
Joined: Mar 2018
Reputation:
22
Joel,
As Chad said, it sounds like you need content handlers. That is, I'm assuming I understand you right that the ID server will post a message to the IW server. The demo you need to look at is the CustomContentHandler, which accepts a message and returns a response (xml).
But, I'm wondering if I understand your need correctly. Are you really trying to post info to the ID server and get a response back from that ID server? If so, that's different unless the ID server is also IW.
Dan
Posts: 227
Threads: 4
Joined: Mar 2018
Reputation:
22
Thanks for the clarification.
I pictured the IW session requesting a confirmation of authentication from the identity server, which is the reverse of what you describe.
If you put something in the content handler confirming the startup request came from the identity server it sounds like your method should work with TContentHandler.
I haven't used Azure or IdentityModel, which probably makes me out of date but always willing to learn.
Dan