Copied to clipboard

Flag this post as spam?

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


  • Tim Powell 2 posts 93 karma points
    Sep 02, 2022 @ 16:45
    Tim Powell
    0

    Umbraco V10 BasicAuth

    Trying to get our product cloud instance to ask for BasicAuth whilst we're developing it, but it just seems to ignore the transform/default settings.

    I've followed the following which says to add: enter image description here

    https://our.umbraco.com/documentation/Reference/Configuration/BasicAuthSettings/

    Done that - works locally - when I Set it to Enabled: true & RedirectToLoginPage: true

    However, deploy this to live, and they are ignored. I've tried the following:

    • adding it to the appsettings.Production.json,

    • restarting the environment

    When looking in Kudu: the App settings show this:enter image description here

  • Tim Powell 2 posts 93 karma points
    Sep 03, 2022 @ 17:00
    Tim Powell
    101

    Got a solution via Umbraco direct (Thank you Hjalte).

    Umbraco cloud doesn't currently support this functionality (not honoured on Cloud) - but it looks like it's on the roadmap to enable from dashboard.

    You can currently do this using IIS Rewrite Module - Creating Rules: https://our.umbraco.com/Documentation/Umbraco-Cloud/Security/#restrict-backoffice-access-using-ip-filtering

    Reason we needed this:

    You want to ensure that the website shouldn't show in SERPS when pushing changes to cloud e.g. for a RC/UAT

Please Sign in or register to post replies

Write your reply to:

Draft