Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding IP address to allowlist does not bypass Umbraco Cloud authentication #870

Open
yassienAbdillahi opened this issue Jan 6, 2025 · 5 comments
Labels

Comments

@yassienAbdillahi
Copy link

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

13.5.2

Bug summary

I have switched on Basic Authentication to restrict Public Access for the dev and staging environments of my Umbraco Cloud site. I have added my IP address to the allowlist so that I do not need to be authenticated when accessing the frontend of the dev or staging sites. Despite this, whenever I try to visit one of the pages on the dev or staging site, I am still redirected to the Umbraco Cloud sign in page.

Specifics

No response

Steps to reproduce

  • Deploy to Umbraco Cloud
  • In the Cloud Portal, under Security, click on Public Access
  • Switch on Basic Authentication for the dev environment
  • Add your IP address to to the Allowlist
  • Logout of Umbraco Cloud
  • Visit any page on the dev environment

Expected result / actual result

Intended/desired outcome:
You should NOT be redirected to the Umbraco Cloud sign in page i.e. adding your IP address to the Allowlist should mean that you can view any page on the dev environment without being authenticated

Actual outcome:
You are redirected to the Umbraco Cloud sign in page i.e. adding your IP address to the Allowlist doesn't work.

Copy link

github-actions bot commented Jan 6, 2025

Hi there @yassienAbdillahi!

Firstly, a big thank you for raising this issue. Every piece of feedback we receive helps us to make Umbraco better.

We really appreciate your patience while we wait for our team to have a look at this but we wanted to let you know that we see this and share with you the plan for what comes next.

  • We'll assess whether this issue relates to something that has already been fixed in a later version of the release that it has been raised for.
  • If it's a bug, is it related to a release that we are actively supporting or is it related to a release that's in the end-of-life or security-only phase?
  • We'll replicate the issue to ensure that the problem is as described.
  • We'll decide whether the behavior is an issue or if the behavior is intended.

We wish we could work with everyone directly and assess your issue immediately but we're in the fortunate position of having lots of contributions to work with and only a few humans who are able to do it. We are making progress though and in the meantime, we will keep you in the loop and let you know when we have any questions.

Thanks, from your friendly Umbraco GitHub bot 🤖 🙂

@nikolajlauridsen
Copy link

Hey @yassienAbdillahi this seems like a cloud issue, I'll go ahead and transfer your issue to the cloud issue tracker 😄

@nikolajlauridsen nikolajlauridsen transferred this issue from umbraco/Umbraco-CMS Jan 7, 2025
@jattwood
Copy link

jattwood commented Mar 5, 2025

I had this issue as well. Turns out that when our cloud account was created, the package: Umbraco.Cloud.Cms.Public.Access was not installed automatically. By installing that through NuGet, everything started working as it should have. So, check to make sure that is installed...

@yassienAbdillahi
Copy link
Author

Thanks for replying @jattwood. I just checked and, yeah, the Umbraco.Cloud.Cms.Public.Access package isn't installed in my project either. I'll try and check if installing it fixes the issue.

@jattwood
Copy link

jattwood commented Mar 6, 2025

The docs were not up-to-date when I had my issue, but they look to be updated now here: https://docs.umbraco.com/umbraco-cloud/set-up/project-settings/public-access

Image

Hope that works for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants