Open Closed

Can we reduce the length of URL #4222


User avatar
0
viswajwalith created
  • ABP Framework version: v5.1.3
  • UI type: MVC
  • DB provider: EF Core / MongoDB
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue: The the Request to navigating from UI (MVC) layer to AuthServer, because of return URL the length of the URL is exceeding 2500 characters. Is there anyway to reduce this?

4 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Please share a such URL

    We do not add any extra parameters to the URL.

  • User Avatar
    0
    viswajwalith created

    hi

    Please share a such URL

    We do not add any extra parameters to the URL.

    Its not because of any additional parameters, its due to the encryption of Return URL I think (because some times the Length will be around 800 characters and some times more then 3000). we would like to restrict this below 1200 characters all the time(if possible)

    https://authserver.xxxxxxxx.com/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3FLOGINUSING%26client_id%3DAppV3_Web%26redirect_uri%3Dhttps%253A%252F%252Fexceego.ehswatch.com%252Fsignin-oidc%26response_type%3Dcode%2520id_token%26scope%3Dopenid%2520profile%2520role%2520email%2520phone%2520AuthServer%2520IdentityService%2520AdministrationService%2520SaasService%2520EmployeeService%2520IncidentService%2520AttachmentService%2520ObservationsService%2520ActionService%2520UserTaskService%2520HSEPlansService%2520NCRService%2520CustomerService%2520InspectionService%2520Forms%2520FileManagement%2520RMService%2520TMService%26response_mode%3Dform_post%26nonce%3D638071896570293599.M2VkZDBkMDctY2U2MS00NmI5LThiMjktNzlmNmYzNWVjOWQ0MzU5NjcyMWMtMjliZC00OTM2LThjYzctMzZhMDBiMjhiYzhh%26state%3DCfDJ8FRhYrLUrBdPg2ipof6Ze15HVIyX7WS4ApP5QoDnN0sbMASqwYqqMGy9rEmEjK6TMFeOm_zu4Eb9w3MveX0N56QEyLnmm5YNKxgGUvl4F3FI2rfnhKM5NJpX8nYQCURZP9QypINWTaqNJqlyx5IpsEKoyffePii8EeTjK8llh99Fy4gqqMxD4DtLt4R1VQ5yFpM5hvBzQHRTLPpRbAhmhgnKgdfw1jgfCC2PjHX1zbm6OTKXCbngXc-FUSadf4m9AeNPjoj-BRvRSDYvQHdg60TE-Io8jbpZTz1N_wt0zqj6J8IX8BI2NU61tmXwGtfEf4ABMGtzFxS8ifUbb77WVd4%26x-client-SKU%3DID_NET6_0%26x-client-ver%3D6.21.0.0

    With Tenant ID:

    https://authserver.xxxxxxxx.com/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize%2Fcallback%3F__tenant%3D8e3e606e-2370-663b-d891-39ff8fe68689%26LOGINUSING%26client_id%3DAppV3_Web%26redirect_uri%3Dhttps%253A%252F%252Fbarik.ehswatch.com%252Fsignin-oidc%26response_type%3Dcode%2520id_token%26scope%3Dopenid%2520profile%2520role%2520email%2520phone%2520AuthServer%2520IdentityService%2520AdministrationService%2520SaasService%2520EmployeeService%2520IncidentService%2520AttachmentService%2520ObservationsService%2520ActionService%2520UserTaskService%2520HSEPlansService%2520NCRService%2520CustomerService%2520InspectionService%2520Forms%2520FileManagement%2520RMService%2520TMService%26response_mode%3Dform_post%26nonce%3D638071898544026331.ZDQ2YmMzZGEtNmM1Ny00NzU5LTlkOTgtY2M2NTUwMDNiNjk3OTQ1MDc5ZjEtMzliZS00OGYxLWFiNWQtMTdjZGJjOWNjZTY5%26state%3DCfDJ8FRhYrLUrBdPg2ipof6Ze14mEFk5bIQXNQjsIL-lp9gw5t-ix4H0JDqNfa76u7WhP6qsyI5e9taMVSetz5Crd4zSk8hxuws0GCunnqJ5kjJkvYdYkuUO7-vQMrG9PJP66ngYwgXW_2hv1sGNa3NDcK4UlBH36zJe3Gqvzfa4WM-73PcKiOkE1tEcodC8eoWv4-AGfrlnx3YVov5CZ6dm0-d8C376N7R-f9SjQlsK2vif_Waams8HN9V5tElVd5JxJPoHTuj8PIclJ0r8TF5lJKTwPVTCo-7otEd2RrMpmiU-qiPsR12iRM5aT6_KKU5vtRgrIfmLOu_AOsWb4PLQSfI%26x-client-SKU%3DID_NET6_0%26x-client-ver%3D6.21.0.0

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    We can't fix this. You may consider using a shorter Scope name.

  • User Avatar
    0
    viswajwalith created

    We can't fix this. You may consider using a shorter Scope name.

    Ok, Thanks for the update

Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11