Activities of "priyankasynapxe"

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: NA

Steps to reproduce the issue: NA

Hi,

In my application some external system user is calling one API from where we redirect to some page of my application, sample of API is below

    [Authorize]
    public async Task<IActionResult> BTViewEncounter(string MRN, string ENo)
    {
     string webRedirctUrl = string.Empty;
        IConfigurationRoot _config = new ConfigurationBuilder().SetBasePath(Directory.GetParent(AppContext.BaseDirectory).FullName)
         .AddJsonFile("appsettings.json", false).Build();
        string webBaseUri = _config.GetSection("WebUISetting:URL").Get<string>();
        webRedirctUrl = webBaseUri;
        if (!string.IsNullOrEmpty(MRN) || !string.IsNullOrEmpty(EncounterNo))
        {
            Encounter encounters = new Encounter();
            try
            {
                encounters = await _encounterRepository.GetEncounterAsync(ENo, MRN);
                if (encounters != null)
                { 
                        string relativeUri = string.Format("{0}{1}{2}{3}",
                        "read/admission/view?",
                            "encounterNo=" + encounters.Encounter.IdentificationText,
                            "&encounterId=" + encounters.Encounter.Id.ToString(),
                            "&institutionId=" + encounters.Encounter.InstitutionId.ToString());

                        Uri CompleteUrl = new Uri(new Uri(webBaseUri), relativeUri);
                        webRedirctUrl = CompleteUrl.ToString();
                }
                else
                {
                    webRedirctUrl = string.Format("{0}{1}", webBaseUri, "datanotfound.html");
                }
            }
            catch (Exception)
            {
                throw;

            }
        }
        return Redirect(webRedirctUrl);
    }
    

In the same service I have 3 API, all 3 API is doing the redirect on some page, every first API call is working fine but from 2nd call onwards user is getting below error, seems like it is trying to create multiple cookies

All 3 requests are working fine If I remove [Authorize] tag from APIs.

Please help why with [Authorize] tag it is giving "Bad Request - Request Too Long".

Thanks

Question

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: NA

Steps to reproduce the issue: NA

Hi, I have recently added a new table but sometimes I found below error in log file. Please help me to know the rott cause and way to fix it.

Thanks.

ABP Framework version: v8.1.1

UI Type:React

Database System: EF Core (SQL Server)

Tiered (for MVC) or Auth Server Separated (for Angular): yes

Exception message and full stack trace: NA

Steps to reproduce the issue: NA

Hi, I'm trying to log my token value in log file. we are calling /connect/token to get token. Please help how I can log token value.

Thanks.

Showing 11 to 13 of 13 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.