Screenly / Anthias

The world's most popular open source digital signage project.
https://anthias.screenly.io
Other
2.48k stars 618 forks source link

Display a website with basic authentication #1546

Open haupt-pascal opened 3 years ago

haupt-pascal commented 3 years ago

Overview of the Issue

I'd like to display a private admin-dashboard, which uses basic authentication for the website (username and password ...). I know that there is a feature in the pro-version to add the data with an hash (or something like that), but is there a way to do this in the open source version as well? If not, is this an possible OSE feature?

Environment

kaveyro commented 3 years ago

I'm not sure if this works with the Screenly Browser but you could try to pass the user credentials to the website like this: https://username:password@URL

haupt-pascal commented 3 years ago

Forgot to answer - nope this doesn't work, I've already tried before this issue.

haupt-pascal commented 3 years ago

Nobody else?

nkaminski commented 3 years ago

@haupt-pascal One solution for websites requiring authentication whether it be basic auth, bearer tokens, or mTLS is to run an nginx container configured as a reverse proxy alongside Screenly that listens on localhost of the Pi. Have been using this myself for some time with reasonable success.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

andyhovest commented 2 years ago

There are many sites that this would open up for viewing if this were possible since people often save preferred or favorited configurations, such as weather sites, online calendars, and others.

ealmonte32 commented 2 years ago

Since this is the OSE edition, it would take contributors to write the code to make something like that happen since it is not easy and also some browsers dont even support this method anymore.

@haupt-pascal What kind of authentication does this private admin dashboard use?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

jeremy-brennan commented 5 months ago

I see this thread is a few years old now but did this ever get solved?

vpetersson commented 5 months ago

This is not supported yet in Anthias (but is supported in Screenly).