You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can ssh into the site. I am using a Json from another Jansen server for the same client. Below is the CURL, the error, and the opened client Json. I am trying to use the API to create Janssen OpenID Client Records. Where am I going wrong?
ERROR
`{
"error_description": "Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client. CorrelationId: 632fed11-2620-48f6-8c6e-8f3c2a845f5c",
"error": "invalid_client"
}curl: (6) Could not resolve host: -H
curl: (3) URL rejected: Malformed input to a URL function'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I can ssh into the site. I am using a Json from another Jansen server for the same client. Below is the CURL, the error, and the opened client Json. I am trying to use the API to create Janssen OpenID Client Records. Where am I going wrong?
CURL
curl -u KayviumDevSSHKey -X POST https://Janssen_FQDN/jans-auth/restv1/register -H "Content-Type: application/json" -d @/Applications/SSHKey/janssen/janssen-configs/test.json
ERROR
`{
"error_description": "Client authentication failed (e.g. unknown client, no client authentication included, or unsupported authentication method). The authorization server MAY return an HTTP 401 (Unauthorized) status code to indicate which HTTP authentication schemes are supported. If the client attempted to authenticate via the Authorization request header field, the authorization server MUST respond with an HTTP 401 (Unauthorized) status code, and include the WWW-Authenticate response header field matching the authentication scheme used by the client. CorrelationId: 632fed11-2620-48f6-8c6e-8f3c2a845f5c",
"error": "invalid_client"
}curl: (6) Could not resolve host: -H
curl: (3) URL rejected: Malformed input to a URL function'
test.JSON
{
"deletable": false,
"clientSecret": "***************",
"frontChannelLogoutUri": "https://FQDN/logout.php,https://FQDNlogout.php",
"frontChannelLogoutSessionRequired": false,
"redirectUris": [
"https://FQQDN/wp-admin-ajax.php?action=openid-connect-aurthoirize"
],
"responseTypes": [
"code"
],
"grantTypes": [
"authorization_code"
],
"applicationType": "web",
"clientName": "wordpress-rcmp",
"clientNameLocalized": {},
"logoUriLocalized": {},
"clientUriLocalized": {},
"policyUriLocalized": {},
"tosUriLocalized": {},
"subjectType": "public",
"tokenEndpointAuthMethod": "client_secret_post",
"postLogoutRedirectUris": [
"https://FQDN/wp-login.php?loggedout=trun&wp_lang=en_US"
],
"scopes": [
"inum=764C,ou=scopes,o=jans",
"inum=43F1,ou=scopes,o=jans",
"inum=F0C4,ou=scopes,o=jans"
],
"trustedClient": false,
"persistClientAuthorizations": true,
"includeClaimsInIdToken": true,
"customAttributes": [],
"customObjectClasses": [
"top"
],
"rptAsJwt": false,
"accessTokenAsJwt": false,
"disabled": false,
"attributes": {
"runIntrospectionScriptBeforeJwtCreation": true,
"keepClientAuthorizationAfterExpiration": false,
"allowSpontaneousScopes": false,
"backchannelLogoutSessionRequired": false,
"parLifetime": 600,
"requirePar": false,
"dpopBoundAccessToken": false,
"jansDefaultPromptLogin": false,
"minimumAcrLevel": -1
},
"backchannelTokenDeliveryMode": "poll",
"backchannelUserCodeParameter": false,
"description": "wordpress-rcmp",
"displayName": "wordpress-rcmp",
"authenticationMethod": "client_secret_post",
"allAuthenticationMethods": [
"client_secret_post"
]
}
Beta Was this translation helpful? Give feedback.
All reactions