Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • drake 4 posts 25 karma points
    Jun 10, 2024 @ 03:04
    drake
    1

    Umbraco 14 backend login error This server only accepts HTTPS requests, openiddict.com

    Hi all, i just install umbraco , customize on local and success to publish and deploy on some VPS, and the website can access normally (https://dau.ebizity.com) but when i wants to access the backend, Umbraco 14 backend login and error appear, here for the error message

    https://*****/management/api/v1/security/back-office/authorize?redirect_uri=https%3A
    
    error:invalid_request 
    error_description:This server only accepts HTTPS requests. 
    error_uri:https://documentation.openiddict.com/errors/ID2083
    

    Regards

  • Thomas 18 posts 128 karma points
    Jun 11, 2024 @ 11:35
    Thomas
    0

    I'm having the same issue after updating to Umbraco 14. Did you find a solution yet?

  • arthurbai 1 post 71 karma points
    Jun 14, 2024 @ 05:38
    arthurbai
    0

    we also met same problem happaend on the version 13. server os:ubuntu server deploy mode: dotnet publish xxxx and dotnet run

  • drake 4 posts 25 karma points
    Jun 14, 2024 @ 10:03
    drake
    0

    Not Yet, when i using on localhost/my laptop its works fine with backend https deal (iis express built in), but when i deploy on some VPS, error appear

  • Ayo Adesina 440 posts 1033 karma points
    Jun 24, 2024 @ 19:31
    Ayo Adesina
    0

    Same problem running it locally. - Upgrade from 13 to 14. Any one got any ideas?

  • drake 4 posts 25 karma points
    Jun 25, 2024 @ 03:20
    drake
    0

    if you running on localhost/locally, please try run(f5 dubuggin) using IIS express including in Visual studio, i same got error when i try run via command dotnet build, dotnet run, but success login backend when start run debuggin(f5) using iis express in visual studio. when i deploy on some VPS, (https) frontend run normally but when i access backend xxxx/umbraco got the error open like above

  • drake 4 posts 25 karma points
    26 days ago
    drake
    0

    Hi all. i just found solution, plaase add this on program.cs

    .. app.UseAuthorization(); app.UseCertificateForwarding(); ...

    regards,

  • Marco Teodoro 73 posts 148 karma points c-trib
    1 week ago
    Marco Teodoro
    0

    Hi Drake, where exactly are you doing this? I mean, is it before or after Umbraco? I've done this, but it's still not working for me. I'm unsure if it's related, as I think I'm forwarding traffic using Nginx on non-SSL ports. I will need to check this further tomorrow.

    WebApplication app = builder.Build();
    
    await app.BootUmbracoAsync();
    
    app.UseUmbraco()
        .WithMiddleware(u =>
        {
            u.UseBackOffice();
            u.UseWebsite();
        })
        .WithEndpoints(u =>
        {
            u.UseBackOfficeEndpoints();
            u.UseWebsiteEndpoints();
        });
    
    app.UseAuthorization();
    app.UseCertificateForwarding();
    
    await app.RunAsync();
    
Please Sign in or register to post replies

Write your reply to:

Draft