Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

API Access: Unauthenticated. Please provide api user credentials.

Featured Replies

Hi,

I'm trying to connect to the froxlor API using python (my script worked half a year ago with another instance of froxlor). I'm using Froxlor 2.1.9 on Debian 11

I enabled the API interface in the system settings, and I generated an API key (as the admin user).

I am using PHP-FPM for the froxlor instance, and I read the note about this:

Quote

If you are using php-fpm with apache2, in order for the API authentication to work properly, you need to enable Add "-pass-header Authorization" / "CGIPassAuth On" to vhosts in the PHP-configuration assigned to froxlor.

However, there is no such setting in the PHP-FPM configuration (even though I do not hide incompatible options).

Any hints what's wrong here?

 

There IS a setting for it:

Login as admin -> PHP -> PHP Configurations -> Edit the config that is used by froxlor itself -> check "Passing HTTP AUTH BASIC/DIGEST headers from Apache to PHP"

  • Author

Thank you for your extremely fast reply :)

Right, that setting is there, and is already activated. It sounded like what I was looking for, but not exactly what is written in the docs, that's why I'm asking :)

I'll have to look further into it. Might be a mistake on the python side ...

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.