Skip to content
View in the app

A better way to browse. Learn more.

Unraid

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.

(SOLVED) Is there a container with an oauth proxy for legacy scanner/printer devices?

Featured Replies

Hello,

just doing my first steps with unraid and so far really impressed with the ease of use. While playing around with different features and containers, I was wondering if there is a docker container that serves as an oauth proxy to connect my old scanner and multi functional printer to Microsoft Exchange 365. Unfortunately most of these devices do not support modern forms of authentication and Microsoft will soon remove classic smtp auth. Did anyone ever stumble over this?

kind regards,

Klayman

Edited by Klayman

Solved by Klayman

  • Author
  • Solution

Answer to self: Yes, there is. It's called email-OAuth2-proxy and can be found here: blacktirion/email-oauth2-proxy-docker: Dockerized Version of simonrob/email-oauth2-proxy

It allows to connect printers and scanners via smtp to services like Exchange365 which only allow OAuth V2 auhentication. Important aspect: The proxy will present an URL through which to authenticate. To do so, the following steps are necessary as the original proxy is not designed to run as a container:

Create emailproxy.config and start container
Open container console
Kill running process: ps aux | grep emailproxy.py kill -9 7
Run interactive: python emailproxy.py --no-gui --config-file /config/emailproxy.config --debug --external-auth
Run SMTP request against container IP and port
Complete login to provided link and provide interactive mode with localhost redirect link

(for me the first of the 2 links showed worked. Also maximizing the console seems to solve some issues with line breaks in the link)

Paste the redirect link with the authorization code from your browser back into the console, the proxy will create a token etc and write it to the config file
Restart container.

For Microsoft365: When you edit the config file, make sure you replace the word "common" in permission_url and token_url contain with your Microsoft/Azure tenant id.

Best,

Klayman

Edited by Klayman

  • Klayman changed the title to (SOLVED) Is there a container with an oauth proxy for legacy scanner/printer devices?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.