Downloaded the C# version of Ox client library and MVC application. When I run the MVC application I am getting the attached Screen. Where it asks for
- OXD Host IP address
- OXD Port
- Redirect URL
When I enter the values (as mentioned in Screenshot) I get message "Registration successful" But in oxd-server log file I found below entry.
Could you please suggest what will be the valid redirect url ?
>
> 2017-04-04 10:02:11,854 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ...
> 2017-04-04 10:02:11,858 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client.
> 2017-04-04 10:02:13,292 ERROR [org.xdi.oxd.server.op.RegisterSiteOperation] ClientId: null, clientSecret: null
> 2017-04-04 10:02:13,294 ERROR [org.xdi.oxd.server.op.RegisterSiteOperation] Value of one or more redirect_uris is invalid.
> 2017-04-04 10:02:13,294 ERROR [org.xdi.oxd.server.op.RegisterSiteOperation] Failed to register client for site. Details:{"error":"invalid_redirect_uri","error_description":"Value of one or more redirect_uris is invalid."}
> java.lang.RuntimeException: Failed to register client for site. Details:{"error":"invalid_redirect_uri","error_description":"Value of one or more redirect_uris is invalid."}
> at org.xdi.oxd.server.op.RegisterSiteOperation.registerClient(RegisterSiteOperation.java:230)
> at org.xdi.oxd.server.op.RegisterSiteOperation.persistSiteConfiguration(RegisterSiteOperation.java:184)
> at org.xdi.oxd.server.op.RegisterSiteOperation.execute(RegisterSiteOperation.java:60)
> at org.xdi.oxd.server.op.RegisterSiteOperation.execute(RegisterSiteOperation.java:37)
> at org.xdi.oxd.server.Processor.process(Processor.java:80)
> at org.xdi.oxd.server.Processor.process(Processor.java:55)
> at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:60)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
> at java.lang.Thread.run(Unknown Source)
Please let me know if you need any information