Closed qq1176914912 closed 3 months ago
hello. 1、I see that if he passes the verification by binding a mobile phone, the field of "phone_number_verified" will appear in the claim, but after I bind the mailbox, he has no related field. So what should I do if I want to know whether the mailbox passes the verification? 2、As for the avatar, I see that there is a field about picture in the claim. How does this address come from? If I log in with google, will he get my google avatar address? Does your project now not support setting your own avatar?
For the first question, I found it in scope:
3、When adding a scope, if an error occurs, the error persists regardless of any scope click.
4、I found that when I added scope, I accidentally added one more space to the value of "Token claim name". After saving, this value was with space. When I tried to delete the space and save it again, I would get an error: "Token claim name must be unique".
Hello,
Currently, the end-user lacks the capability to define their picture in SimpleIdServer. I have initiated ticket #708 to address and implement this feature.
When a user authenticates with their Google account, it becomes feasible to incorporate their picture into the picture claim. To achieve this, you need to add a mapping rule in the Identity Provider by following these steps:
Navigate to the Authentications window and select Google.
Go to the Mappers tab.
Click on the Add mapper button.
Select the Property button and proceed to the Next button.
Complete the form with the following values and click on the Save button:
Parameter | Value |
---|---|
Name | Picture |
Source claim name | picture (https://developers.google.com/identity/openid-connect/openid-connect?hl=fr) |
User property | picture |
Upon attempting to save these settings, you may encounter the error message "Token claim name must be unique." This error is displayed when the scope already contains a mapping rule with the same name.
Token claim name must be unique
On the issue of "Token claim name must be unique" The operation is as follows:
Token claim name must be unique
On the issue of "Token claim name must be unique" The operation is as follows:
- I added a "scope" whose type is "Identity Value" and name is "testscope ".
- Then add "Mappers" to it and click "Mappers" Add Mapper, add an Attribute, and set Name and Token claim name to test:
- Then repeat the operation of the second part, this is the "Name must be unique" at the top of the prompt. After the prompt appears, close the window and click the "Add Mapper" button again. Whether I select "Attribute" or "Property", the error message still exists even if I haven't entered anything:
- The same thing happens with "API Resources", which basically means that if an error occurs once, even if I close the window and reopen it, the error still persists.
- Even if I click on "Client" to jump from its "ClientScope" to "Scope", this error still persists: The same goes for the "Token claim name must be unique" error prompt, which persists for as long as an error has occurred.
I found that the pop-up window of the "Add client" button also has this problem. As long as there is an error once, the error will always exist. Maybe all pop-ups have this problem.
When an error message was displayed in the popup window, it was never removed, even when the window was closed. This issue has been fixed in all popup windows.
When an error message was displayed in the popup window, it was never removed, even when the window was closed. This issue has been fixed in all popup windows.
Thank you for your modification.
hello. 1、I see that if he passes the verification by binding a mobile phone, the field of "phone_number_verified" will appear in the claim, but after I bind the mailbox, he has no related field. So what should I do if I want to know whether the mailbox passes the verification? 2、As for the avatar, I see that there is a field about picture in the claim. How does this address come from? If I log in with google, will he get my google avatar address? Does your project now not support setting your own avatar?