-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix:(jans-config) getting error while create openid client #2946
Comments
You need to update your client.json
Now we store in The localized attributes has same names + |
@manojs1978 were you able to test the fix? |
Assigning to @qbert2k for inputs. Error: Json:
|
Hi @pujavs I can see the problem is deserializing the Localized String in Client class: I can suggest using a ClientDto instead and a mapper. |
Why jans-config-api-server is not consuming the dynamic client registration endpoint from jans-auth-server? |
@qbert2k ,
Request you to please rectify the issue in 2. Why jans-config-api-server is not consuming the dynamic client registration endpoint from jans-auth-server? cc @yuriyz for suggestion and advice for both points |
{
// ...
"client_name": "My Example",
"client_name#ja-Jpan-JP": "クライアント名"
// ...
}
|
@qbert2k, we need to close the LocalizedString issue, issues reported wrt to them are still open and consumes lot of time and efforts to keep on analysing and reporting to the user that is LocalizedString issue and WIP Following are my queries;
|
@qbert2k @pujavs jans-config-api has access to internal AS structure which is not exposed outside by AS via dynamic registration endpoint. There reason is that jans-config-api must have ability to change any data (e.g. client secret or expiration). We of course can solve I'm going to investigate and fix deserialization problem.
|
Fixed serialization and deserialization in #3064 Look to ClientSerializationTest.java for sample. Sample json used by test
@pujavs Re-opening ticket for validation. Please try with newest AS and confirm it works. |
@manojs1978 to test and confirm |
checking |
Hi @pujavs ,
|
@manojs1978 i am not getting this error, request you to please re-test and post exact request json in-case of error or else close the issue |
assigning to @manojs1978 for testing and closure |
with modfied client.json able to create open id client using API |
Describe the bug
getting error while create openid client
To Reproduce
Steps to reproduce the behavior:
"customAttributes": null,
"customObjectClasses": null,
4.run
/opt/jans/jans-cli/config-cli.py --operation-id post-oauth-openid-clients --data /tmp/Client.json
Expected behavior
should able to create openid client
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
openidlog.zip
The text was updated successfully, but these errors were encountered: