By: Pratik Ghadge user 16 Aug 2017 at 10:18 a.m. CDT

10 Responses
Pratik Ghadge gravatar
I'm using gluu server version 3.0.2 as identity provider and oxd as sp. Trying to make this a openId connect sso integration. I am using sample PHP project given on oxd website. From the sample project client registration is successful and I can see the client added on gluu server. I get get_authorization_url as well successfully. When I redirect using that url provided by gluu server I am getting access denied error. ERROR URL: https://oxd.resoit.com/login/index.php?error=access_denied&error_description=The+resource+owner+or+authorization+server+denied+the+request.&state=j0jb6saetd9bhr92iu5rqbn56v ERROR : array(3) { ["error"]=> string(13) "access_denied" ["error_description"]=> string(62) "The resource owner or authorization server denied the request." ["state"]=> string(26) "j0jb6saetd9bhr92iu5rqbn56v" } Has anyone came across of such issue. Please help

By Jajati Badu Account Admin 17 Aug 2017 at 3:23 a.m. CDT

Jajati Badu gravatar
Hi Pratik, Could you please confirm if you have registered your Client application (https://oxd.resoit.com). Once your application is registered in Gluu server through oxd server , you will get an oxdid. I can see there are two fields (EmailId and Gluu server url) in your login page https://oxd.resoit.com/, which is not required. In the login page you can keep a button "Loggin using Gluu/OpenId Connect". Clicking on the button will redirect the user to Gluu server url (get_authorization_url) login page. There user will input userid and password. Upon successful logon, user will be redirected to the application redirect url. you can get more information at [oxd PHP doc](https://gluu.org/docs/oxd/libraries/php/) Kind Regards, Jajati

By Denis St-Michel user 22 Aug 2017 at 8:09 a.m. CDT

Denis St-Michel gravatar
I have the exact same problem. Only in my case, when I redirect to the authorization_url I am immediately redirect to my site, with the same error.

By Jajati Badu Account Admin 22 Aug 2017 at 8:20 a.m. CDT

Jajati Badu gravatar
Hi Denis, Could you please confirm that you have configured the web application in [oxd server](https://oxd.gluu.org/) ? It will help if you can attach oxd log file. Kind Regards, Jajati

By Denis St-Michel user 22 Aug 2017 at 8:39 a.m. CDT

Denis St-Michel gravatar
Thanks for your quick response, Jajati, appreciated. Yes, I have configure the web application in the oxd-conf.json file. Is this what you referred to? Here's my config. For confidentiality considerations, I intentionnaly left the keys, license, passwords blank: { "port":8099, "localhost_only":false, "time_out_in_seconds":0, "use_client_authentication_for_pat":true, "use_client_authentication_for_aat":true, "trust_all_certs":true, "trust_store_path":"", "trust_store_password":"", "license_id":"", "public_key":"", "public_password":"", "license_password":"", "support-google-logout": true, "state_expiration_in_minutes":5, "nonce_expiration_in_minutes":5 } As for the logs, which file would be helpful? Are you referring to the .json response file, or the java logs that I can access from the Gluu Administration page? Again, thanks much for your time and help, it is really appreciated. Regards, Denis

By Jajati Badu Account Admin 22 Aug 2017 at 9:04 a.m. CDT

Jajati Badu gravatar
Hi Denis, You can find the log file at \oxd-server\bin\oxd-server.log Kind Regards, Jajati

By Denis St-Michel user 22 Aug 2017 at 9:21 a.m. CDT

Denis St-Michel gravatar
Ok thank you for getting back to me so quickly. For starter, here's the authorization_url I received upon registering: https://gluu.local/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code&client_id=@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!912B.78FA.33AD.D6AE&redirect_uri=https://127.0.0.1/abonnement/coming-back-from-oxd&scope=openid&state=pu0h4og41vnl2f2ktmupj0u2pm&nonce=aur0ppvc73g3m8067pavd0jh7g&acr_values=basic And here's the log file content when accessing this URL: ``` 2017-08-22 10:18:52,293 DEBUG [org.xdi.oxd.server.service.SocketService] Start new SocketProcessor... 2017-08-22 10:18:52,295 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 10:18:52,296 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 10:18:52,296 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0627, commandSize: 627 2017-08-22 10:18:52,296 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"command":"register_site","params":{"authorization_redirect_uri":"https://127.0.0.1/abonnement/coming-back-from-oxd","op_host":"https://gluu.local","post_logout_redirect_uri":"https://127.0.0.1/abonnement/logout","application_type":"web","response_types":["code"],"grant_types":["authorization_code"],"scope":["openid"],"acr_values":["basic"],"client_name":null,"client_jwks_uri":"","client_token_endpoint_auth_method":"","client_request_uris":null,"client_logout_uris":null,"client_sector_identifier_uri":"","contacts":["dstmichel@vigilance.ca"],"ui_locales":null,"claims_locales":null,"client_id":null,"client_secret":null}}', m_leftString=''} 2017-08-22 10:18:52,297 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"register_site","params":{"authorization_redirect_uri":"https://127.0.0.1/abonnement/coming-back-from-oxd","op_host":"https://gluu.local","post_logout_redirect_uri":"https://127.0.0.1/abonnement/logout","application_type":"web","response_types":["code"],"grant_types":["authorization_code"],"scope":["openid"],"acr_values":["basic"],"client_name":null,"client_jwks_uri":"","client_token_endpoint_auth_method":"","client_request_uris":null,"client_logout_uris":null,"client_sector_identifier_uri":"","contacts":["dstmichel@vigilance.ca"],"ui_locales":null,"claims_locales":null,"client_id":null,"client_secret":null}} 2017-08-22 10:18:52,297 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ... 2017-08-22 10:18:52,298 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2017-08-22 10:18:52,365 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!912B.78FA.33AD.D6AE 2017-08-22 10:18:52,365 ERROR [org.xdi.oxd.server.service.ConfigurationService] String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at org.xdi.oxd.server.service.ConfigurationService.getConfDirectoryPath(ConfigurationService.java:57) at org.xdi.oxd.server.service.SiteStorage.createSiteFile(SiteStorage.java:93) at org.xdi.oxd.server.service.SiteStorage.createNewFile(SiteStorage.java:83) at org.xdi.oxd.server.service.SiteConfigurationService.createNewFile(SiteConfigurationService.java:124) at org.xdi.oxd.server.op.RegisterSiteOperation.persistSiteConfiguration(RegisterSiteOperation.java:193) 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) 2017-08-22 10:18:52,369 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Site configuration created: SiteConfiguration{acrValues=[basic], oxdId='6973176a-8603-4f4e-b150-a10d5c97489d', opHost='https://gluu.local', authorizationRedirectUri='https://127.0.0.1/abonnement/coming-back-from-oxd', applicationType='web', sectorIdentifierUri='null', redirectUris=[https://127.0.0.1/abonnement/coming-back-from-oxd], responseTypes=[code], clientId='@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!912B.78FA.33AD.D6AE', clientSecret='9fb2562f-9d2e-47e4-81f8-9ff56fcb14eb', clientJwksUri='', scope=[openid], uiLocales=[en], claimsLocales=[en], grantType=[authorization_code], contacts=[dstmichel@vigilance.ca], aat=null, aatCreatedAt=null, aatExpiresIn=0, pat=null, patCreatedAt=null, patExpiresIn=0, umaProtectedResources=[], rpt=null, rptCreatedAt=null, rptExpiresIn=null, gat=null, gatCreatedAt=null, gatExpiresIn=null} 2017-08-22 10:18:52,369 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"oxd_id":"6973176a-8603-4f4e-b150-a10d5c97489d","op_host":"https://gluu.local"}} 2017-08-22 10:18:52,370 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 10:18:52,370 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 10:18:52,370 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0627, commandSize: 627 2017-08-22 10:18:52,370 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"command":"register_site","params":{"authorization_redirect_uri":"https://127.0.0.1/abonnement/coming-back-from-oxd","op_host":"https://gluu.local","post_logout_redirect_uri":"https://127.0.0.1/abonnement/logout","application_type":"web","response_types":["code"],"grant_types":["authorization_code"],"scope":["openid"],"acr_values":["basic"],"client_name":null,"client_jwks_uri":"","client_token_endpoint_auth_method":"","client_request_uris":null,"client_logout_uris":null,"client_sector_identifier_uri":"","contacts":["dstmichel@vigilance.ca"],"ui_locales":null,"claims_locales":null,"client_id":null,"client_secret":null}}', m_leftString=''} 2017-08-22 10:18:52,371 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"register_site","params":{"authorization_redirect_uri":"https://127.0.0.1/abonnement/coming-back-from-oxd","op_host":"https://gluu.local","post_logout_redirect_uri":"https://127.0.0.1/abonnement/logout","application_type":"web","response_types":["code"],"grant_types":["authorization_code"],"scope":["openid"],"acr_values":["basic"],"client_name":null,"client_jwks_uri":"","client_token_endpoint_auth_method":"","client_request_uris":null,"client_logout_uris":null,"client_sector_identifier_uri":"","contacts":["dstmichel@vigilance.ca"],"ui_locales":null,"claims_locales":null,"client_id":null,"client_secret":null}} 2017-08-22 10:18:52,372 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ... 2017-08-22 10:18:52,372 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2017-08-22 10:18:52,380 DEBUG [org.xdi.oxd.server.service.SocketService] Start new SocketProcessor... 2017-08-22 10:18:52,382 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 10:18:52,382 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 10:18:52,382 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0160, commandSize: 160 2017-08-22 10:18:52,382 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"command":"get_authorization_url","params":{"oxd_id":"6973176a-8603-4f4e-b150-a10d5c97489d","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}}', m_leftString=''} 2017-08-22 10:18:52,383 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"get_authorization_url","params":{"oxd_id":"6973176a-8603-4f4e-b150-a10d5c97489d","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}} 2017-08-22 10:18:52,383 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"authorization_url":"https://gluu.local/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code&client_id=@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!912B.78FA.33AD.D6AE&redirect_uri=https://127.0.0.1/abonnement/coming-back-from-oxd&scope=openid&state=pu0h4og41vnl2f2ktmupj0u2pm&nonce=aur0ppvc73g3m8067pavd0jh7g&acr_values=basic"}} 2017-08-22 10:18:52,384 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 10:18:52,384 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 10:18:52,385 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0160, commandSize: 160 2017-08-22 10:18:52,385 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"command":"get_authorization_url","params":{"oxd_id":"6973176a-8603-4f4e-b150-a10d5c97489d","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}}', m_leftString=''} 2017-08-22 10:18:52,385 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"get_authorization_url","params":{"oxd_id":"6973176a-8603-4f4e-b150-a10d5c97489d","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}} 2017-08-22 10:18:52,388 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"authorization_url":"https://gluu.local/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code&client_id=@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!912B.78FA.33AD.D6AE&redirect_uri=https://127.0.0.1/abonnement/coming-back-from-oxd&scope=openid&state=5u14sk9omkln84sranv482n0u&nonce=grvmr8ijsk9iojmogmeockenrr&acr_values=basic"}} 2017-08-22 10:18:52,388 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 10:18:52,389 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 10:18:52,389 ERROR [org.xdi.oxd.server.SocketProcessor] Software caused connection abort: recv failed java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at sun.nio.cs.StreamDecoder.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.read1(Unknown Source) at java.io.BufferedReader.read(Unknown Source) at org.xdi.oxd.common.CoreUtils.readCommand(CoreUtils.java:171) at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:51) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2017-08-22 10:18:52,418 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!235A.D8C2.AC06.7134 2017-08-22 10:18:52,418 ERROR [org.xdi.oxd.server.service.ConfigurationService] String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at org.xdi.oxd.server.service.ConfigurationService.getConfDirectoryPath(ConfigurationService.java:57) at org.xdi.oxd.server.service.SiteStorage.createSiteFile(SiteStorage.java:93) at org.xdi.oxd.server.service.SiteStorage.createNewFile(SiteStorage.java:83) at org.xdi.oxd.server.service.SiteConfigurationService.createNewFile(SiteConfigurationService.java:124) at org.xdi.oxd.server.op.RegisterSiteOperation.persistSiteConfiguration(RegisterSiteOperation.java:193) 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) 2017-08-22 10:18:52,423 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Site configuration created: SiteConfiguration{acrValues=[basic], oxdId='d35da584-80d0-4f37-9ef6-910eefe48add', opHost='https://gluu.local', authorizationRedirectUri='https://127.0.0.1/abonnement/coming-back-from-oxd', applicationType='web', sectorIdentifierUri='null', redirectUris=[https://127.0.0.1/abonnement/coming-back-from-oxd], responseTypes=[code], clientId='@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!235A.D8C2.AC06.7134', clientSecret='3bbccf85-f4f3-4d5b-a378-9c9156a9139e', clientJwksUri='', scope=[openid], uiLocales=[en], claimsLocales=[en], grantType=[authorization_code], contacts=[dstmichel@vigilance.ca], aat=null, aatCreatedAt=null, aatExpiresIn=0, pat=null, patCreatedAt=null, patExpiresIn=0, umaProtectedResources=[], rpt=null, rptCreatedAt=null, rptExpiresIn=null, gat=null, gatCreatedAt=null, gatExpiresIn=null} 2017-08-22 10:18:52,423 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"oxd_id":"d35da584-80d0-4f37-9ef6-910eefe48add","op_host":"https://gluu.local"}} 2017-08-22 10:18:52,424 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 10:18:52,424 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 10:18:52,424 ERROR [org.xdi.oxd.server.SocketProcessor] Software caused connection abort: recv failed java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at sun.nio.cs.StreamDecoder.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.read1(Unknown Source) at java.io.BufferedReader.read(Unknown Source) at org.xdi.oxd.common.CoreUtils.readCommand(CoreUtils.java:171) at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:51) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ``` Hope this will help. Thanks again! Denis

By Jajati Badu Account Admin 22 Aug 2017 at 9:47 a.m. CDT

Jajati Badu gravatar
Hi Denis, Thanks for posting the logs. I can see you are using an ip address as client redirect url and post logout url. You should use a host name instead of IP address. > The client hostname should be a valid hostname(should be a FQDN), not localhost or an IP Address. You can configure the hostname by adding the following entry in your /etc/host (for Ubuntu, might be different for different flavours of linux) file: Please check this [document](https://gluu.org/docs/oxd/3.0.1/libraries/php/#configure-the-client-application) Kind Regards, Jajati

By Denis St-Michel user 22 Aug 2017 at 10:21 a.m. CDT

Denis St-Michel gravatar
Thanks again for your help, Jajati. I changed the setting accordingly (windows host file, redirect url, etc.) Now instead of 127.0.0.1 I use abonnement.net. This time, I think I have a different error. Here's the newest log file since the changes. I feel that i'm getting close to making it work, Am I correct? ``` 2017-08-22 11:13:44,822 INFO [org.xdi.oxd.server.ServerLauncher] Starting... 2017-08-22 11:13:44,822 INFO [org.xdi.oxd.server.ServerLauncher] commit: 0eda70e831db6c16919ee7cbee4aa90a5fbeb6fa, branch: origin/version_3.0.1, build time:24.02.2017 @ 08:50:18 EST 2017-08-22 11:13:44,941 TRACE [org.xdi.oxd.server.service.ConfigurationService] Try to load configuration from system property: oxd.server.config, value: ../conf/oxd-conf.json 2017-08-22 11:13:45,036 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration loaded successfully from system property: oxd.server.config. 2017-08-22 11:13:45,038 TRACE [org.xdi.oxd.server.service.ConfigurationService] Configuration: Configuration{port=8099, timeOutInSeconds=0, jettyPort=0, startJetty=false, localhostOnly=false, useClientAuthenticationForPat=true, useClientAuthenticationForAat=true, trustAllCerts=true, keyStorePath='', keyStorePassword='', licenseId='9ce2f6c8-d741-41fd-9027-47570e879625', publicKey='Q9U4lMya94U7gFw9zSkFoJjGkGLozjSSQfozz8jPgPi9tg70K+yrWX6i0Tvbm7kPgs0Vx1sh4WtrZQ6p9yabR7KW/1nIMu2eGy8Zo8wnAg8GHIemvzkq1LfVLVRRzFqvWz3N9UoxBhxu3XgdVgpWRX7b4h53allVzoVAbUBS7KnRJrSa1XWL/ujCCy7qLtVoqyNCPH65wDoyAndb8jx3YFMjxplyLfy8gTu4qIrjxeMWrJJ/vztved96cTLTiNvpvuyCGosQvM5d5miiksFXe1YvkeQBSVYLJRx9iHxnIqUQ85tg8iQt3L+JQsOLm77gKfKCVi/12X2n7JSQSkAU7Y3WH9A1cQyzZMr5cGL0/gKoBjy5yvj15mdZWZyFx+Kv+1+VCvLV8xB5GZz62lbswQ==', publicPassword='j8pRIGFi1fRecDnldvIF', licensePassword='TFiQTqrsHRRSKrrpzZTW', supportGoogleLogout='true', stateExpirationInMinutes='5', nonceExpirationInMinutes='5'} 2017-08-22 11:13:45,082 ERROR [org.xdi.oxd.server.service.ConfigurationService] String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at org.xdi.oxd.server.service.ConfigurationService.getConfDirectoryPath(ConfigurationService.java:57) at org.xdi.oxd.server.service.ConfigurationService.getConfDirectoryFile(ConfigurationService.java:44) at org.xdi.oxd.server.service.SiteConfigurationService.load(SiteConfigurationService.java:61) at org.xdi.oxd.server.ServerLauncher.startOxd(ServerLauncher.java:84) at org.xdi.oxd.server.ServerLauncher.start(ServerLauncher.java:62) at org.xdi.oxd.server.ServerLauncher.main(ServerLauncher.java:51) 2017-08-22 11:13:45,083 INFO [org.xdi.oxd.server.service.ConfigurationService] Configuration directory: c:\wamp64\oxd-server-3.0.1\bin\..\conf 2017-08-22 11:13:45,087 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 010aa95f-dba6-475b-a76c-e2965726b2aa.json 2017-08-22 11:13:45,118 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 05537d22-df60-4a90-a997-bbb7e09cd4bb.json 2017-08-22 11:13:45,120 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 05e119bd-2067-4e78-a358-0da6cf0efacb.json 2017-08-22 11:13:45,120 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 07c18af3-8d3c-423c-a0b2-b681facb912f.json 2017-08-22 11:13:45,121 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 07f83a7e-3ef6-4789-8893-ba9a3ba39c7b.json 2017-08-22 11:13:45,121 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 1086aed3-3f93-47b3-9dd9-49be8292928a.json 2017-08-22 11:13:45,122 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 11828df3-1546-4e9b-847b-7b7a085ae0f6.json 2017-08-22 11:13:45,122 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 1b196002-ef2c-4372-97ba-3b640aabc014.json 2017-08-22 11:13:45,123 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 1d38acdd-4642-4322-a51e-e3b4db663543.json 2017-08-22 11:13:45,123 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 1ea7c626-dc8a-4b6b-8270-0b667a111936.json 2017-08-22 11:13:45,124 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 2400839b-c4f9-43e5-a58b-489c34e2cd46.json 2017-08-22 11:13:45,124 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 3eb20c93-2e70-4479-a9b6-c613293bdceb.json 2017-08-22 11:13:45,125 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 41787d4f-40c5-44da-9419-f8f5d78acfb5.json 2017-08-22 11:13:45,125 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 44d4370e-ae7e-40cb-ba0e-44eae4baceb4.json 2017-08-22 11:13:45,126 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 49a29e4c-8df2-433b-baf9-1eb3e61f0989.json 2017-08-22 11:13:45,126 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 5f51edde-ece4-4c5c-9bd0-2b2958960daf.json 2017-08-22 11:13:45,131 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 6672e629-550e-4101-a71b-cc624de86ec1.json 2017-08-22 11:13:45,132 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 695af54c-281e-4584-ba01-9fa8e9e939e6.json 2017-08-22 11:13:45,132 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 6973176a-8603-4f4e-b150-a10d5c97489d.json 2017-08-22 11:13:45,133 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 6f1c18c4-f9ea-419e-b4ff-d1e7c08a8a67.json 2017-08-22 11:13:45,133 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 730e2db0-d38d-41c1-8e4c-85cccc4fe933.json 2017-08-22 11:13:45,133 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 7cd3fc5f-be4c-4cae-b664-9b4c85aad0d1.json 2017-08-22 11:13:45,134 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 7dafc1d8-e82c-46e8-b8fc-f9ebb1eb7512.json 2017-08-22 11:13:45,134 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 8118f526-a576-42ef-95a9-802e024d8d2f.json 2017-08-22 11:13:45,135 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 882cabf1-4da3-41a4-8cff-7741dfa6d83c.json 2017-08-22 11:13:45,135 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 882d4aee-1c43-4de2-9a05-e76052e2480f.json 2017-08-22 11:13:45,136 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 8bb8ae98-5680-4587-8633-17f95bfe325f.json 2017-08-22 11:13:45,136 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 8cc2728e-dc6e-4f26-b45e-678d011d0eeb.json 2017-08-22 11:13:45,137 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 99f7be47-266d-4649-9276-cbaf70d923b0.json 2017-08-22 11:13:45,137 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: 9df53e29-8f47-47eb-bc00-7e664b82ae57.json 2017-08-22 11:13:45,137 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: a8b3909d-2fe8-4b14-86ba-e567b9ddceb2.json 2017-08-22 11:13:45,138 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: b68df710-744c-44ce-b2f2-23384ee24ee5.json 2017-08-22 11:13:45,140 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: bea86f21-43e2-4719-bd7e-bb69484ca1af.json 2017-08-22 11:13:45,140 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: c120837c-fef5-4e09-a8ef-8d20cfe4642d.json 2017-08-22 11:13:45,141 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: c55c2cd9-f86e-4d78-95ef-1889589580d6.json 2017-08-22 11:13:45,141 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: cd5f0127-d65a-4d54-bce9-7cb3a95fa21b.json 2017-08-22 11:13:45,142 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: cdbd048a-ccad-448c-b8c5-23b9d7de2557.json 2017-08-22 11:13:45,142 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: d247bfc9-5d74-4d4e-a3d7-d36265b02e84.json 2017-08-22 11:13:45,142 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: d35da584-80d0-4f37-9ef6-910eefe48add.json 2017-08-22 11:13:45,143 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: d3e60ff7-995f-4397-8463-90c213513b33.json 2017-08-22 11:13:45,144 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: d55ef043-c238-43d0-8673-2d9e4a5a5716.json 2017-08-22 11:13:45,144 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: d708e121-0c46-4060-be4a-0e58656a0a0a.json 2017-08-22 11:13:45,145 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: de37327b-04b0-439a-bc6a-bcad7533da64.json 2017-08-22 11:13:45,145 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: deb5be5c-c20a-4516-82f1-7805b78dc450.json 2017-08-22 11:13:45,145 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: dfc18128-3af3-4748-9218-8dbd024a9436.json 2017-08-22 11:13:45,145 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: e058e092-68b4-41df-8c7e-99880d0138f8.json 2017-08-22 11:13:45,146 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: f2f0ba8d-098f-4bd1-a50e-81f1322c4036.json 2017-08-22 11:13:45,146 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: f51f8cba-3f9a-411b-9fa7-55e57c391c44.json 2017-08-22 11:13:45,146 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: f90cfd65-d716-4aff-abf9-1140357205b5.json 2017-08-22 11:13:45,147 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: fbb9fe33-a5ba-4361-921f-633cbcd33cce.json 2017-08-22 11:13:45,147 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: ff0a2833-c5ff-4351-974c-41a266b03fa5.json 2017-08-22 11:13:45,147 TRACE [org.xdi.oxd.server.service.SiteConfigurationService] Loading site file name: oxd-default-site-config.json 2017-08-22 11:13:45,148 DEBUG [org.xdi.oxd.server.license.LicenseFile] License file location: c:\wamp64\oxd-server-3.0.1\bin\.oxd-license 2017-08-22 11:13:45,151 TRACE [org.xdi.oxd.server.license.LicenseFile] MAC ADDRESS set to : 0A-00-27-00-00-02 2017-08-22 11:13:45,153 TRACE [org.xdi.oxd.server.license.LicenseService] Validating license ... 2017-08-22 11:13:45,153 DEBUG [org.xdi.oxd.server.license.LicenseFile] License file location: c:\wamp64\oxd-server-3.0.1\bin\.oxd-license 2017-08-22 11:13:45,154 TRACE [org.xdi.oxd.server.license.LicenseFile] MAC ADDRESS set to : 0A-00-27-00-00-02 2017-08-22 11:13:45,163 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2017-08-22 11:13:46,056 TRACE [org.xdi.oxd.server.license.LicenseService] License is validated successfully. 2017-08-22 11:13:46,058 TRACE [org.xdi.oxd.server.license.LicenseService] License data: LicenseMetadata{creationDate=Mon Aug 21 14:10:38 EDT 2017, licenseId=null, autoupdate=true, active=true, product=oxd, licenseName='Denis St-Michel', expirationDate=Tue Aug 21 14:10:38 EDT 2018, licenseCountLimit=9999, customerName=Denis St-Michel, emails=[]} 2017-08-22 11:13:46,060 TRACE [org.xdi.oxd.server.license.LicenseService] Validating license ... 2017-08-22 11:13:46,060 DEBUG [org.xdi.oxd.server.license.LicenseFile] License file location: c:\wamp64\oxd-server-3.0.1\bin\.oxd-license 2017-08-22 11:13:46,061 TRACE [org.xdi.oxd.server.license.LicenseFile] MAC ADDRESS set to : 0A-00-27-00-00-02 2017-08-22 11:13:46,061 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2017-08-22 11:13:46,145 TRACE [org.xdi.oxd.server.license.LicenseService] License is validated successfully. 2017-08-22 11:13:46,145 TRACE [org.xdi.oxd.server.license.LicenseService] License data: LicenseMetadata{creationDate=Mon Aug 21 14:10:38 EDT 2017, licenseId=null, autoupdate=true, active=true, product=oxd, licenseName='Denis St-Michel', expirationDate=Tue Aug 21 14:10:38 EDT 2018, licenseCountLimit=9999, customerName=Denis St-Michel, emails=[]} 2017-08-22 11:13:46,147 INFO [org.xdi.oxd.server.service.SocketService] Server socket is bound to port: 8099, with timeout: 0 seconds. Start listening for notifications. 2017-08-22 11:14:15,335 DEBUG [org.xdi.oxd.server.service.SocketService] Start new SocketProcessor... 2017-08-22 11:14:15,338 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 11:14:15,338 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 11:14:15,338 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0626, commandSize: 626 2017-08-22 11:14:15,339 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"command":"register_site","params":{"authorization_redirect_uri":"https://abonnement.net/coming-back-from-oxd","op_host":"https://gluu.local","post_logout_redirect_uri":"https://abonnement.net/abonnement/logout","application_type":"web","response_types":["code"],"grant_types":["authorization_code"],"scope":["openid"],"acr_values":["basic"],"client_name":null,"client_jwks_uri":"","client_token_endpoint_auth_method":"","client_request_uris":null,"client_logout_uris":null,"client_sector_identifier_uri":"","contacts":["dstmichel@vigilance.ca"],"ui_locales":null,"claims_locales":null,"client_id":null,"client_secret":null}}', m_leftString=''} 2017-08-22 11:14:15,339 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"register_site","params":{"authorization_redirect_uri":"https://abonnement.net/coming-back-from-oxd","op_host":"https://gluu.local","post_logout_redirect_uri":"https://abonnement.net/abonnement/logout","application_type":"web","response_types":["code"],"grant_types":["authorization_code"],"scope":["openid"],"acr_values":["basic"],"client_name":null,"client_jwks_uri":"","client_token_endpoint_auth_method":"","client_request_uris":null,"client_logout_uris":null,"client_sector_identifier_uri":"","contacts":["dstmichel@vigilance.ca"],"ui_locales":null,"claims_locales":null,"client_id":null,"client_secret":null}} 2017-08-22 11:14:15,367 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Creating site configuration ... 2017-08-22 11:14:15,368 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2017-08-22 11:14:15,440 WARN [org.apache.http.client.protocol.ResponseProcessCookies] Cookie rejected: "[version: 0][name: JSESSIONID][value: 1j0h72sin9ctip1xmg2q3y756][domain: gluu.local][path: /oxauth][expiry: null]". Illegal path attribute "/oxauth". Path of origin: "/.well-known/openid-configuration" 2017-08-22 11:14:15,445 TRACE [org.xdi.oxd.server.service.DiscoveryService] Discovery response: { "issuer": "https://gluu.local", "authorization_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/authorize", "token_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/token", "userinfo_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/userinfo", "clientinfo_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/clientinfo", "check_session_iframe": "https://gluu.local/oxauth/opiframe", "end_session_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/end_session", "jwks_uri": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/jwks", "registration_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/register", "validate_token_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/oxauth/validate", "id_generation_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/id", "introspection_endpoint": "https://gluu.local/oxauth/seam/resource/restv1/introspection", "scopes_supported": [ "openid", "user_name", "profile", "email", "permission", "mobile_phone", "phone", "address", "clientinfo" ], "response_types_supported": [ "code", "code id_token", "token", "token id_token", "code token", "code token id_token", "id_token" ], "grant_types_supported": [ "authorization_code", "implicit", "urn:ietf:params:oauth:grant-type:jwt-bearer" ], "acr_values_supported": ["auth_ldap_server"], "auth_level_mapping": {"-1": ["auth_ldap_server"]}, "subject_types_supported": [ "public", "pairwise" ], "userinfo_signing_alg_values_supported": [ "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512" ], "userinfo_encryption_alg_values_supported": [ "RSA1_5", "RSA-OAEP", "A128KW", "A256KW" ], "userinfo_encryption_enc_values_supported": [ "RSA1_5", "RSA-OAEP", "A128KW", "A256KW" ], "id_token_signing_alg_values_supported": [ "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512" ], "id_token_encryption_alg_values_supported": [ "RSA1_5", "RSA-OAEP", "A128KW", "A256KW" ], "id_token_encryption_enc_values_supported": [ "A128CBC+HS256", "A256CBC+HS512", "A128GCM", "A256GCM" ], "request_object_signing_alg_values_supported": [ "none", "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512" ], "request_object_encryption_alg_values_supported": [ "RSA1_5", "RSA-OAEP", "A128KW", "A256KW" ], "request_object_encryption_enc_values_supported": [ "A128CBC+HS256", "A256CBC+HS512", "A128GCM", "A256GCM" ], "token_endpoint_auth_methods_supported": [ "client_secret_basic", "client_secret_post", "client_secret_jwt", "private_key_jwt" ], "token_endpoint_auth_signing_alg_values_supported": [ "HS256", "HS384", "HS512", "RS256", "RS384", "RS512", "ES256", "ES384", "ES512" ], "display_values_supported": [ "page", "popup" ], "claim_types_supported": ["normal"], "claims_supported": [ "birthdate", "country", "name", "email", "email_verified", "given_name", "gender", "inum", "family_name", "updated_at", "locale", "middle_name", "nickname", "phone_number_verified", "picture", "preferred_username", "profile", "zoneinfo", "user_name", "website" ], "service_documentation": "http://gluu.org/docs", "claims_locales_supported": ["en"], "ui_locales_supported": [ "en", "es" ], "scope_to_claims_mapping": [ {"openid": []}, {"user_name": ["user_name"]}, {"profile": [ "name", "family_name", "given_name", "middle_name", "nickname", "preferred_username", "profile", "picture", "website", "gender", "birthdate", "zoneinfo", "locale", "updated_at" ]}, {"email": [ "email_verified", "email" ]}, {"uma_protection": []}, {"uma_authorization": []}, {"permission": []}, {"mobile_phone": ["phone_mobile_number"]}, {"phone": [ "phone_number_verified", "phone_number" ]}, {"address": [ "formatted", "postal_code", "street_address", "locality", "country", "region" ]}, {"clientinfo": [ "name", "inum" ]} ], "claims_parameter_supported": true, "request_parameter_supported": true, "request_uri_parameter_supported": true, "require_request_uri_registration": false, "op_policy_uri": "http://ox.gluu.org/doku.php?id=oxauth:policy", "op_tos_uri": "http://ox.gluu.org/doku.php?id=oxauth:tos", "frontchannel_logout_supported": "true", "frontchannel_logout_session_supported": true } 2017-08-22 11:14:15,451 TRACE [org.xdi.oxd.server.service.HttpService] Created TRUST_ALL client. 2017-08-22 11:14:15,534 TRACE [org.xdi.oxd.server.op.RegisterSiteOperation] Registered client for site - client_id: @!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!A2D4.A9C0.B965.3A71 2017-08-22 11:14:15,534 ERROR [org.xdi.oxd.server.service.ConfigurationService] String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(Unknown Source) at org.xdi.oxd.server.service.ConfigurationService.getConfDirectoryPath(ConfigurationService.java:57) at org.xdi.oxd.server.service.SiteStorage.createSiteFile(SiteStorage.java:93) at org.xdi.oxd.server.service.SiteStorage.createNewFile(SiteStorage.java:83) at org.xdi.oxd.server.service.SiteConfigurationService.createNewFile(SiteConfigurationService.java:124) at org.xdi.oxd.server.op.RegisterSiteOperation.persistSiteConfiguration(RegisterSiteOperation.java:193) 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) 2017-08-22 11:14:15,569 INFO [org.xdi.oxd.server.op.RegisterSiteOperation] Site configuration created: SiteConfiguration{acrValues=[basic], oxdId='ccac589c-0481-4ec2-904d-98722a23394b', opHost='https://gluu.local', authorizationRedirectUri='https://abonnement.net/coming-back-from-oxd', applicationType='web', sectorIdentifierUri='null', redirectUris=[https://abonnement.net/coming-back-from-oxd], responseTypes=[code], clientId='@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!A2D4.A9C0.B965.3A71', clientSecret='5b7ea540-00c6-457a-8b7d-efeb7af02b04', clientJwksUri='', scope=[openid], uiLocales=[en], claimsLocales=[en], grantType=[authorization_code], contacts=[dstmichel@vigilance.ca], aat=null, aatCreatedAt=null, aatExpiresIn=0, pat=null, patCreatedAt=null, patExpiresIn=0, umaProtectedResources=[], rpt=null, rptCreatedAt=null, rptExpiresIn=null, gat=null, gatCreatedAt=null, gatExpiresIn=null} 2017-08-22 11:14:15,575 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"oxd_id":"ccac589c-0481-4ec2-904d-98722a23394b","op_host":"https://gluu.local"}} 2017-08-22 11:14:15,575 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 11:14:15,575 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 11:14:15,577 TRACE [org.xdi.oxd.common.CoreUtils] End of stream. Quit. 2017-08-22 11:14:15,577 TRACE [org.xdi.oxd.server.SocketProcessor] Quit. Read result is null or command string is blank. 2017-08-22 11:14:15,580 DEBUG [org.xdi.oxd.server.service.SocketService] Start new SocketProcessor... 2017-08-22 11:14:15,581 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 11:14:15,581 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 11:14:15,582 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0160, commandSize: 160 2017-08-22 11:14:15,582 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"command":"get_authorization_url","params":{"oxd_id":"ccac589c-0481-4ec2-904d-98722a23394b","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}}', m_leftString=''} 2017-08-22 11:14:15,582 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"get_authorization_url","params":{"oxd_id":"ccac589c-0481-4ec2-904d-98722a23394b","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}} 2017-08-22 11:14:15,599 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"authorization_url":"https://gluu.local/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code&client_id=@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!A2D4.A9C0.B965.3A71&redirect_uri=https://abonnement.net/coming-back-from-oxd&scope=openid&state=s2k1eeepa0fvbfl5pi7g7eo4d9&nonce=1lo3gn03kerq13hrqh1dg5clfa&acr_values=basic"}} 2017-08-22 11:14:15,599 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 11:14:15,601 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 11:14:15,601 TRACE [org.xdi.oxd.common.CoreUtils] Parsed sizeString: 0160, commandSize: 160 2017-08-22 11:14:15,601 TRACE [org.xdi.oxd.common.CoreUtils] Read result: ReadResult{m_command='{"command":"get_authorization_url","params":{"oxd_id":"ccac589c-0481-4ec2-904d-98722a23394b","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}}', m_leftString=''} 2017-08-22 11:14:15,601 TRACE [org.xdi.oxd.server.Processor] Command: {"command":"get_authorization_url","params":{"oxd_id":"ccac589c-0481-4ec2-904d-98722a23394b","scope":["openid"],"acr_values":["basic"],"prompt":null,"hd":null}} 2017-08-22 11:14:15,602 TRACE [org.xdi.oxd.server.Processor] Send back response: {"status":"ok","data":{"authorization_url":"https://gluu.local/oxauth/seam/resource/restv1/oxauth/authorize?response_type=code&client_id=@!311C.1F7C.000B.2725!0001!E5C1.7BE9!0008!A2D4.A9C0.B965.3A71&redirect_uri=https://abonnement.net/coming-back-from-oxd&scope=openid&state=fiafm21op9t1bqkh25i0g2pud8&nonce=t2eppge6ei6r4f2pkcgd3nm03d&acr_values=basic"}} 2017-08-22 11:14:15,602 TRACE [org.xdi.oxd.server.SocketProcessor] Socket processor handling... 2017-08-22 11:14:15,603 TRACE [org.xdi.oxd.common.CoreUtils] commandSize: -1, stringStorage: 2017-08-22 11:14:15,603 ERROR [org.xdi.oxd.server.SocketProcessor] Software caused connection abort: recv failed java.net.SocketException: Software caused connection abort: recv failed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.socketRead(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at java.net.SocketInputStream.read(Unknown Source) at sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at sun.nio.cs.StreamDecoder.implRead(Unknown Source) at sun.nio.cs.StreamDecoder.read(Unknown Source) at java.io.InputStreamReader.read(Unknown Source) at java.io.BufferedReader.read1(Unknown Source) at java.io.BufferedReader.read(Unknown Source) at org.xdi.oxd.common.CoreUtils.readCommand(CoreUtils.java:171) at org.xdi.oxd.server.SocketProcessor.run(SocketProcessor.java:51) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ``` I can see that the license have been validated ok. But I also see about a cookie being rejected? Any idea (if you still have time). Your help is very appreciated. Thank you so much.

By Jajati Badu Account Admin 22 Aug 2017 at 12:52 p.m. CDT

Jajati Badu gravatar
Hi Denis, I can see you are passing acr_values=basic. Can you try without setting acr_values .To do this you need to set acr_values":[""] in oxd-default-site-config.json and do not set acr_value in the client application. If you want to use acr_values=basic then you may need to enable it from Gluu server >configuration>Manage Custom Scripts> Personal Authentication (Tab) and then enable the "basic" acr (scroll down to the end of page). Please let me know if you are still having problem. Kind Regards, Jajati

By Denis St-Michel user 22 Aug 2017 at 1:51 p.m. CDT

Denis St-Michel gravatar
Yes Jajati, that was it! I'm still not very experimented with Gluu and OpenId Protocol, so thank you very much for your support. Much appreciated. Hopefully this thread might help others! I wish you a great day Jajati. Denis