Solved

Invalid reply url for realm

  • 7 February 2019
  • 3 replies
  • 32 views

Badge +6

We have just upgraded K2 environment from 4.6.11 to 5.2 with latest fix pack. One of the smartform is throwing following error:

 

11175i5BA450C8D95088C9.png

Any suggestions on why this could be happening

icon

Best answer by boringNerd1 8 February 2019, 09:21

View original

3 replies

Badge +15

Hi,


 


Here are a few mistakes I noticed:



  1. You need to have a Reply URI specified for each realm. Reply URI should be either '/ViewFlow/', '/Designer/', or '/Runtime'.

  2.  The audience for each Realm should ideally be the same as the Realm URI. For example, if your realm is 'https://k2.denallix.com/Runtime/', then the audience URI should also be 'https://k2.denallix.com/Runtime/'

  3.  If you want to use 'https://az0-tst-blackpearl', then consider updating your Issuer URI as well.


 


As for the error you are getting, I am guessing you need to update the web.config in your [Program Files]K2 smartforms Runtime. Look for the following line:


 


<wsFederation passiveRedirectEnabled="false" issuer="http://none" realm="https://k2.denallix.com/Runtime/" requireHttps="false" />


 


You need to update the realm in web.config to the realm you intend to use. Take note you need to include the trailing slash after 'Runtime'. The same applies to your Realm URI and Audience URI, make sure to include the trailing slash.


 

Badge +6

Here are both the changes that I have made after the last suggestions:

Badge +6

This did the trick..

Reply