Anthias icon indicating copy to clipboard operation
Anthias copied to clipboard

Display a website with basic authentication

Open haupt-pascal opened this issue 3 years ago • 10 comments

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

  • Raspberry Pi Hardware Version:
  • Model 3B Revision: 1.2 Ram: 1 GB Sony UK
  • Screenly OSE Version: production@d12df55

haupt-pascal avatar Jul 29 '21 08:07 haupt-pascal

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

kaveyro avatar Jul 30 '21 12:07 kaveyro

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

haupt-pascal avatar Aug 03 '21 07:08 haupt-pascal

Nobody else?

haupt-pascal avatar Sep 14 '21 12:09 haupt-pascal

@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.

nkaminski avatar Sep 17 '21 01:09 nkaminski

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.

stale[bot] avatar Jan 09 '22 04:01 stale[bot]

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.

andyhovest avatar Feb 03 '22 22:02 andyhovest

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?

ealmonte32 avatar Mar 01 '22 00:03 ealmonte32

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.

stale[bot] avatar Apr 30 '22 09:04 stale[bot]

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

jeremy-brennan avatar May 13 '24 06:05 jeremy-brennan

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

vpetersson avatar May 13 '24 09:05 vpetersson