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
Db update OpenIddictApplications.LogoUri = "dummy_string or http://path_to_online_logo" then Auth Server Raise 500 exeption on login form component
#16804
Closed
1 task done
hungtrinh opened this issue
Jun 10, 2023
· 1 comment
On db, table OpenIddictApplications if exits an record with LogoUri = 'dummy_string_not_start_by_char_/" or 'http://real_online_logo' Then access Auth Server will rasie error 500 on login form component
Reproduction Steps
After login success, on Angular web screen: '/openiddict/Applications' (Administration > OpenId > Applications)
Click Action / Edit an Record
On Screen Edit Application, Set Logo Uri field input: abcdef or http://online_logo_path
On Screen Edit Application, Click Save
Expected behavior
After Set LogoUri = 'dummy text, or http://online_logo_path' then auth server (local: https://localhost:44334/) working normal
Actual behavior
On Auth server, login component section show error message 500 Internal Server ErrorAn internal error occurred during your request!
Here is log on Auth Server
authserver | [15:44:34 ERR] An unhandled exception has occurred while executing the request.
authserver | System.ArgumentException: The path in 'value' must start with '/'. (Parameter 'value')
authserver | at Microsoft.AspNetCore.Http.PathString..ctor(String value)
authserver | at Microsoft.AspNetCore.Mvc.Routing.UrlHelperBase.Content(HttpContext httpContext, String contentPath)
authserver | at AspNetCoreGeneratedDocument.Pages_Index.<>c__DisplayClass29_1.<<ExecuteAsync>b__18>d.MoveNext() in /home/runner/work/abp/abp/aspnet-core/src/AuthServer/Pages/Index.cshtml:line 108
hungtrinh
changed the title
Db update OpenIddictApplications.LogoUri = "dummy_string or http://path_to_online_logo" then Server Raise 500 exeption
Db update OpenIddictApplications.LogoUri = "dummy_string or http://path_to_online_logo" then Auth Server Raise 500 exeption on login form component
Jun 10, 2023
Is there an existing issue for this?
Description
On db, table
OpenIddictApplications
if exits an record withLogoUri
= 'dummy_string_not_start_by_char_/" or 'http://real_online_logo' Then access Auth Server will rasie error 500 on login form componentReproduction Steps
After login success, on Angular web screen: '/openiddict/Applications' (Administration > OpenId > Applications)
Logo Uri
field input:abcdef
orhttp://online_logo_path
Expected behavior
After Set LogoUri = 'dummy text, or http://online_logo_path' then auth server (local: https://localhost:44334/) working normal
Actual behavior
On Auth server, login component section show error message
500 Internal Server ErrorAn internal error occurred during your request!
Here is log on Auth Server
aspnet-core/src/AuthServer/Pages/Index.cshtml:line 108 FILE CONTENT
Regression?
No response
Known Workarounds
No response
Version
7.2.2
User Interface
Common (Default)
Database Provider
EF Core (Default)
Tiered or separate authentication server
Separate Auth Server
Operation System
Windows (Default)
Other information
No response
The text was updated successfully, but these errors were encountered: