SimpleIdServer icon indicating copy to clipboard operation
SimpleIdServer copied to clipboard

Find some problems

Open qq1176914912 opened this issue 1 year ago • 1 comments

Hello, excuse me, I found a problem: 1、When I use https://localhost:5002/master/clients after the success of the login, just click exit, will stay on the page, And displays "Sorry, there's nothing at this address." This is the left function can be used normally, but in fact has been successfully exited: image As before, clicking the exit button will jump to the 5001 system for exit operation. I also try to your deployment project: https://website.simpleidserver.com/, click on the project, also won't jump, but shows "Sorry, there 's nothing at this address.". 2、As for the form above 5002, do you have an arrangement to add a search box? In order to deal with the large amount of data, convenient search and positioning?

qq1176914912 avatar Oct 20 '24 08:10 qq1176914912

Indeed, the logout link is no longer working due to an issue in the 'RealmRouter.' :(

The changes have been published to the master branch. Could you try again?

I've created a new ticket (#795) to support 'advanced search' on the screen that contains a table.

simpleidserver avatar Oct 21 '24 11:10 simpleidserver

Indeed, the logout link is no longer working due to an issue in the 'RealmRouter.' :(

The changes have been published to the master branch. Could you try again?

I've created a new ticket (#795) to support 'advanced search' on the screen that contains a table.

Thank you for your reply. I have tested it, and now it is possible to exit normally and jump to the login page, but the 'Manual action is required to revoke a session' configuration on the client side does not work. No matter whether it is checked or not, the page for manually ending a session will not appear. This causes the account's previous login information to remain active: image is it normal that even if you do not select "Manual action is required to revoke a session" and click to withdraw, the session status should become inactive

qq1176914912 avatar Oct 22 '24 02:10 qq1176914912

I found some new problems: 1、Users who only have view permissions can still do the following: image image Identity Scope Mappers of type User property and User attribute in Scope can be edited: image "Registration" in acrs can also be modified normally, which should be disabled: image Start buttons in Scim and LDAP image Everything in Authentications can be updated: image image External identity providers in Authentications can also be updated: image The above content should not be accessible to users with view permissions only. 2、Go to the External identity providers menu in Authentications, and when editing the external login, the Properties and Mappers pages cannot be accessed: image image 3、When I create a new realm in master, I switch to this realm, which takes me to the login page, and when I successfully log in to this realm, I click the Exit button, which takes me back to master instead of ending the session and taking me to the login page, and I have to click Exit again in master 4、The Extract in the new realm is empty, should SCIM and LDAP be added by default? image 5、So let's say I have two realms, I log in to a master realm using administrator, and then I click Toggle realm to switch to a realm called testrealm, which will take me to the login page to log in again, I log in with the user name testuser3 (which doesn't exist in the master realm), and when I log in successfully, I switch back to the master realm, so I don't have to log in again. What's the logic here? The testuser3 user I logged in from testrealm doesn't exist in master. Should I log in again as well? Or will the two users' tokens automatically switch between realms?

qq1176914912 avatar Oct 22 '24 03:10 qq1176914912

6、The default administrator group created by Groups in the newly created realm is updated incorrectly image

qq1176914912 avatar Oct 22 '24 09:10 qq1176914912

7、May be due to increased access problems now, visit https://localhost:5002/master/clients now, after login successfully, then the same browser to visit https://localhost:5001/master and log in again, There is no need to log in again without adding permissions.

qq1176914912 avatar Oct 22 '24 09:10 qq1176914912

The button to revoke the user's session is not displayed.

This issue has been fixed in the master branch. The cookie name used by the administration website was incorrect.

Users with READ permissions must not be able to update entities.

This permission issue has been fixed in the master branch.

Navigation is not working on the Identity Provider screen.

This navigation issue has been fixed in the master branch.

After logout, the user agent is redirected to the master realm.

The redirection problem has been fixed in the master branch.

Logging in with two different users in two different realms.

If you log in to the master realm with the administrator user and to the testrealm realm with the testuser3 user, you will have two active sessions. It won't be necessary to authenticate again. You’ll automatically be authenticated with the correct user based on the realm.

Group update date and time are invalid.

This issue has been fixed in the master branch.

After logging in to https://localhost:5002/master/clients and browsing the website https://localhost:5001/master, the login window is displayed.

This issue has also been fixed in the master branch.

simpleidserver avatar Oct 22 '24 13:10 simpleidserver

The button to revoke the user's session is not displayed.

This issue has been fixed in the master branch. The cookie name used by the administration website was incorrect.

Users with READ permissions must not be able to update entities.

This permission issue has been fixed in the master branch.

Navigation is not working on the Identity Provider screen.

This navigation issue has been fixed in the master branch.

After logout, the user agent is redirected to the master realm.

The redirection problem has been fixed in the master branch.

Logging in with two different users in two different realms.

If you log in to the master realm with the administrator user and to the testrealm realm with the testuser3 user, you will have two active sessions. It won't be necessary to authenticate again. You’ll automatically be authenticated with the correct user based on the realm.

Group update date and time are invalid.

This issue has been fixed in the master branch.

After logging in to https://localhost:5002/master/clients and browsing the website https://localhost:5001/master, the login window is displayed.

This issue has also been fixed in the master branch.

Thanks for your reply, these problems have been solved after testing

qq1176914912 avatar Oct 23 '24 01:10 qq1176914912

Sorry to bother you, but I found a new problem:

  1. Select the Identity Resource type in the Scopes. After entering the Mappers, select User property. There is no response when you click the first time, and the page keeps loading after the second click. Can I edit the maaper whose type is User property?
  2. After clicking the Add client role button in Groups, as long as the Role page is expanded, that is, the permission page, and then click the Scope menu, the content of the permission will be replaced with Scope
  3. External identity providers in Authentications, select one to edit, Go to Mappers and select USERATTRIBUTE to edit it. There is also a save button if users only have viewing rights. When the USERPROPERTY type is selected for editing, there is no save button, even for users with edit permissions, and once entered, there is no way to go back to the previous page
  4. Extract Mapping rules option, only users with viewing permissions still show the save button, that is, you can edit it

The first three questions have been recorded on video for your convenience: view.zip

qq1176914912 avatar Oct 23 '24 03:10 qq1176914912

5、Registration Workflows when a new registration Is added, if 'Is default? 'After the creation Is successful, the table will not cancel the previous Is default, resulting in two checked states: image image

qq1176914912 avatar Oct 23 '24 07:10 qq1176914912

All the issues are fixed in the master branch :) can-you try again?

simpleidserver avatar Oct 26 '24 19:10 simpleidserver

All the issues are fixed in the master branch :) can-you try again?

Thank you for your reply. One more issue, only users with view permissions still have save permissions in Extract->LDAP/SCIM->Mapping rules.

https://github.com/user-attachments/assets/8a50b94e-94a1-41e0-b9f1-f6c54c18276f

qq1176914912 avatar Oct 28 '24 02:10 qq1176914912

The issue is fixed in the master branch.

simpleidserver avatar Oct 28 '24 12:10 simpleidserver

The issue is fixed in the master branch.

Thank you for your reply, the problems found so far have been resolved

qq1176914912 avatar Oct 29 '24 01:10 qq1176914912

A new problem is found between Clients and Scopes. When you select a specific data and enter the modify page, you return to the original menu. The contents in the list are not refreshed, and only the browser is refreshed.

https://github.com/user-attachments/assets/c78f4da1-99f2-40d3-8694-338840d21c44

qq1176914912 avatar Oct 29 '24 07:10 qq1176914912

The issue is fixed in the master branch.

simpleidserver avatar Oct 29 '24 11:10 simpleidserver

The issue is fixed in the master branch.

The Scopes menu also has this problem image

qq1176914912 avatar Oct 30 '24 01:10 qq1176914912

The issue is fixed in the master branch.

simpleidserver avatar Oct 30 '24 13:10 simpleidserver

I found that some pages can be updated normally when entering the edit for the first time by clicking Update, but after F5 refreshes the browser on this page, it cannot be saved normally, and sometimes the whole menu will be stuck. I recorded a video: view.zip

qq1176914912 avatar Oct 31 '24 09:10 qq1176914912

Hello,

The issues have been fixed in the Release503 branch. All the NuGet packages referenced by the SimpleIdServer project have also been updated. You might notice some regressions in the look and feel of the UI due to significant changes made in the latest version of the Blazor library.

Could you please fetch the latest changes and try again?

KR, SID

simpleidserver avatar Oct 31 '24 21:10 simpleidserver

Hello,

The issues have been fixed in the Release503 branch. All the NuGet packages referenced by the SimpleIdServer project have also been updated. You might notice some regressions in the look and feel of the UI due to significant changes made in the latest version of the Blazor library.

Could you please fetch the latest changes and try again?

KR, SID

Thank you for your reply.I'll give it a try

qq1176914912 avatar Nov 01 '24 00:11 qq1176914912

You are right, indeed, the previous page display all failed, it seems that we have to do a new adaptation, which is a big project image

qq1176914912 avatar Nov 01 '24 00:11 qq1176914912

There is also a page not refresh issue: The page of Auditing will load data only when it is opened for the first time. After an addition operation is performed, the log content will not appear if you click the Auditing again. It will be refreshed only after the browser is refreshed

https://github.com/user-attachments/assets/5ba83ee4-4aef-431b-b78a-e606317ede29

qq1176914912 avatar Nov 01 '24 06:11 qq1176914912

Hello,

It is normal that the log "The client is registered" does not appear on the screen immediately because the integration event "ClientRegisteredSuccessEvent" is processed by the in-memory bus after a certain delay.

Regarding your CSS issue, did you create your own CSS file, or are you using the default one provided by SimpleIdServer.

simpleidserver avatar Nov 04 '24 21:11 simpleidserver

Hello,

It is normal that the log "The client is registered" does not appear on the screen immediately because the integration event "ClientRegisteredSuccessEvent" is processed by the in-memory bus after a certain delay.

Regarding your CSS issue, did you create your own CSS file, or are you using the default one provided by SimpleIdServer.

I downloaded your project directly and started it after all the regeneration. Do you mean that it is not like this in your place?I downloaded your project directly and started it after all the regeneration. Do you mean that it is not like this in your place? I'll try again later

qq1176914912 avatar Nov 05 '24 00:11 qq1176914912

Hello, It is normal that the log "The client is registered" does not appear on the screen immediately because the integration event "ClientRegisteredSuccessEvent" is processed by the in-memory bus after a certain delay. Regarding your CSS issue, did you create your own CSS file, or are you using the default one provided by SimpleIdServer.

I downloaded your project directly and started it after all the regeneration. Do you mean that it is not like this in your place?I downloaded your project directly and started it after all the regeneration. Do you mean that it is not like this in your place? I'll try again later

I tried again, regenerated the project and started, and then the browser visited ctrl+f5 after refresh, it is like that, if you do not have this is not your browser has a cache?

qq1176914912 avatar Nov 05 '24 01:11 qq1176914912

Can-you replace the content of the _Host.cshtml file with the following content and try again ?

Source code : https://raw.githubusercontent.com/simpleidserver/SimpleIdServer/refs/heads/master/src/IdServer/SimpleIdServer.IdServer.Website.Startup/Pages/_Host.cshtml

@page "/"
@using Microsoft.AspNetCore.Components.Web
@namespace SimpleIdServer.IdServer.Website.Startup.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <base href="~/" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/website.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/stateDig.css" />
    <link rel="icon" type="image/png" href="_content/SimpleIdServer.IdServer.Website/favicon.png" />
    <script src="_content/SimpleIdServer.IdServer.Website/website.js"></script>
    <script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
    <component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
<body class="orange">
    <component type="typeof(App)" render-mode="ServerPrerendered" />

    <div id="blazor-error-ui">
        <environment include="Staging,Production">
            An error has occurred. This application may no longer respond until reloaded.
        </environment>
        <environment include="Development">
            An unhandled exception has occurred. See browser dev tools for details.
        </environment>
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <script src="_framework/blazor.server.js"></script>
</body>
</html>

simpleidserver avatar Nov 05 '24 08:11 simpleidserver

Can-you replace the content of the _Host.cshtml file with the following content and try again ?

Source code : https://raw.githubusercontent.com/simpleidserver/SimpleIdServer/refs/heads/master/src/IdServer/SimpleIdServer.IdServer.Website.Startup/Pages/_Host.cshtml

@page "/"
@using Microsoft.AspNetCore.Components.Web
@namespace SimpleIdServer.IdServer.Website.Startup.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <base href="~/" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/website.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/stateDig.css" />
    <link rel="icon" type="image/png" href="_content/SimpleIdServer.IdServer.Website/favicon.png" />
    <script src="_content/SimpleIdServer.IdServer.Website/website.js"></script>
    <script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
    <component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
<body class="orange">
    <component type="typeof(App)" render-mode="ServerPrerendered" />

    <div id="blazor-error-ui">
        <environment include="Staging,Production">
            An error has occurred. This application may no longer respond until reloaded.
        </environment>
        <environment include="Development">
            An unhandled exception has occurred. See browser dev tools for details.
        </environment>
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <script src="_framework/blazor.server.js"></script>
</body>
</html>

I downloaded the project of your Release503 branch, and replaced the content of the "_host-cshtml" file with the content you said according to what you said, but it still cannot be displayed normally, and the content cannot be loaded into a menu. image

qq1176914912 avatar Nov 06 '24 01:11 qq1176914912

Oups, i made a mistake. The correct _Host.cshtml file has the following content :

Source code : https://github.com/simpleidserver/SimpleIdServer/blob/Release503/src/IdServer/SimpleIdServer.IdServer.Website.Startup/Pages/_Host.cshtml

@page "/"
@using Microsoft.AspNetCore.Components.Web
@namespace SimpleIdServer.IdServer.Website.Startup.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <base href="~/" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/themes.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/website.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/stateDig.css" />
    <link rel="icon" type="image/png" href="_content/SimpleIdServer.IdServer.Website/favicon.png" />
    <script src="_content/SimpleIdServer.IdServer.Website/website.js"></script>
    <component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
<body class="orange">
    <component type="typeof(App)" render-mode="ServerPrerendered" />

    <div id="blazor-error-ui">
        <environment include="Staging,Production">
            An error has occurred. This application may no longer respond until reloaded.
        </environment>
        <environment include="Development">
            An unhandled exception has occurred. See browser dev tools for details.
        </environment>
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <script src="_framework/blazor.server.js"></script>
    <script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
</body>
</html>

simpleidserver avatar Nov 06 '24 07:11 simpleidserver

Oups, i made a mistake. The correct _Host.cshtml file has the following content :

Source code : https://github.com/simpleidserver/SimpleIdServer/blob/Release503/src/IdServer/SimpleIdServer.IdServer.Website.Startup/Pages/_Host.cshtml

@page "/"
@using Microsoft.AspNetCore.Components.Web
@namespace SimpleIdServer.IdServer.Website.Startup.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <base href="~/" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/themes.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/website.css" />
    <link rel="stylesheet" href="_content/SimpleIdServer.IdServer.Website/css/stateDig.css" />
    <link rel="icon" type="image/png" href="_content/SimpleIdServer.IdServer.Website/favicon.png" />
    <script src="_content/SimpleIdServer.IdServer.Website/website.js"></script>
    <component type="typeof(HeadOutlet)" render-mode="ServerPrerendered" />
</head>
<body class="orange">
    <component type="typeof(App)" render-mode="ServerPrerendered" />

    <div id="blazor-error-ui">
        <environment include="Staging,Production">
            An error has occurred. This application may no longer respond until reloaded.
        </environment>
        <environment include="Development">
            An unhandled exception has occurred. See browser dev tools for details.
        </environment>
        <a href="" class="reload">Reload</a>
        <a class="dismiss">🗙</a>
    </div>

    <script src="_framework/blazor.server.js"></script>
    <script src="_content/Radzen.Blazor/Radzen.Blazor.js"></script>
</body>
</html>

Where do you show no problem? It seems that website.css is not found. The Release503 branch project I downloaded does not contain website.css image image I put website.css from master into this project, but it's still the same problem image

qq1176914912 avatar Nov 06 '24 09:11 qq1176914912

I pushed the missing css file in the branch Release503. Can-you try again?

simpleidserver avatar Nov 06 '24 11:11 simpleidserver