By: Thomas Zhu user 23 Oct 2014 at 9:23 a.m. CDT

3 Responses
Thomas Zhu gravatar
Hi, I executed the following command. curl -i -k -X POST -d @client_registration.json -H "Authorization: Bearer 4b30c58e-799e-4fa5-b5ba-1e8ee95c0d9b" -H "Content-Type: application/json" https://ce.gluu.info/oxauth/register where I got the access token of the gluu client from opendj. It was not expired. The client_registratin.json is as the following. { "application_type":"web", "redirect_uris": ["http://www.yahoo.com", "http://www.google.com"], "client_name":"tomclient", "token_endpoint_auth_method":"client_secret_basic" } I received 404 error and no sign in the log files that the request reached the method requestRegister(...) of class org.xdi.oxauth.register.ws.rs.RegisterRestWebServiceImpl. HTTP/1.1 404 Not Found Date: Thu, 23 Oct 2014 14:13:22 GMT Content-Type: text/html;charset=utf-8 Content-Language: en Content-Length: 981 Set-Cookie: JSESSIONID=91831FA7377FE6C08C11C503CE39119A; Path=/oxauth/; Secure; HttpOnly;HttpOnly Connection: close <html><head><title>Apache Tomcat/7.0.55 - Error report</title><style><!--H1 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} H2 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} H3 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A {color : black;}A.name {color : black;}HR {color : #525D76;}--></style> </head><body><h1>HTTP Status 404 - /oxauth/register</h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u>/oxauth/register</u></p><p><b>description</b> <u>The requested resource is not available.</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/7.0.55</h3></body></html>

By Mohib Zico Account Admin 23 Oct 2014 at 9:37 a.m. CDT

Mohib Zico gravatar
Thomus, Can you give a try with a better OpenID Connect RP web interface on https://seed.gluu.org/oxauth-rp/home.seam ? Also, Mike recorded a fantastic tutorial on how to register client. Which is available here: https://www.youtube.com/watch?v=BcmSdNQ45Sg

By Thomas Zhu user 23 Oct 2014 at 10:04 a.m. CDT

Thomas Zhu gravatar
I can't use the page on seed.gluu.org directly. The server I am using for gluu can't be accessed from outside corporate network. I have the oxauth-rp source code and build seems successful. I wonder if the deployment is simply to copy the oxauth-rp.war under the webapp of tomcat?

By Javier Rojas staff 23 Oct 2014 at 3:18 p.m. CDT

Javier Rojas gravatar
Yes, you can deploy oxauth-rp.war directly. No extra configuration is required.