_Benjamin2

u/_Benjamin2



r/wikijs•

I have a wiki.js instance set up which uses OIDC for new & existing users. Users are added to groups based on what groups are passed through OIDC, this works fine. However, when I manually add a user to a group, this gets reversed after some time each time.

Am I missing something? It feels like a bug but I don't see any bug reports. I also don't see any logs backing this up, after some time the user is just removed from the group for no apparent reason.

12

r/selfhosted•

I'm running a Synapse/Element stack with several users. Rooms (especially the ones that don't get used too often) get spammed with notifications (users changing their name or avatar, invitations, join and leave events etc...). Ideally, I'd want to turn these notifications off per room, but I learned this is not a feature.

As an alternative, I'd like to set the default value for timeline settings on accounts to false. Does anyone know how to achieve this?

00

r/elementchat•

I'm running a Synapse/Element stack with several users. Rooms (especially the ones that don't get used too often) get spammed with notifications (users changing their name or avatar, invitations, join and leave events etc...). Ideally, I'd want to turn these notifications off per room, but I learned this is not a feature.

As an alternative, I'd like to set the default value for timeline settings on accounts to false. Does anyone know how to achieve this?

20

r/matrixdotorg•

I'm self-hosting a Synapse homeserver. Additionally, I have an Element instance locked to the homeserver. Users are required to log using OIDC (which is provided by an Authentik instance). It bothers me that there's still a username/password field on the Element login page; preferably, users are redirected to the SSO server.

In Element, I tried:

"disable_3pid_login": true
"sso_redirect_options": {
"immediate": false,
"on_welcome_page": false,
"on_login_page": true
}

But it doesn't seem to actually do an automatic redirect or disable the username/password.

Additionally, I'm looking for a way to disable the possibility for users to change their name, e-mail address o

10

r/Authentik•

I'm trying to set up an Authentik server using docker compose. After pulling and running the docker-compose file, I get the following error when going to http://localhost:9000/if/flow/initial-setup/:

Request has been denied.
Flow does not apply to current user.

I looked around online, but the only posts that I found about this issue were related to a bug in a version way earlier than the one I am using (2024.4.2).

Any ideas what could be the issue or how it could be resolved?

10

r/eGPU•

My Razer Core Chroma X that I've been using for a year suddenly stopped working. When I plug my pc (or any pc), the pc is charging through thunderbolt and the Razer Core is making noise, but the fans are not spinning and the LED's do not light up. The device is also not detected in Device Manager.

Any ideas how to fix this, or is this a hardware issue?

10

r/webdev•

I am creating a web application which relies on Google for authentication. When a user signs in on the website, they get redirected to the Google SSO. Upon successfully logging in, Google redirects the user back to the website and a session token is placed.

The goal is that the web application has a REST API endpoint, which is used by the website to fetch/update data.

I'm now wondering what the best practice would be to provide security for the REST API. Should the website use the session cookie to request single-use tokens from the API to perform requests, can the website just use the session cookie to perform requests or is there another better way to do this?

I implemented an endpoint

12

r/flask•

I am using Flask to create a web application, which relies on Google for authentication (using flask_oauthlib.client). When a user signs in on the website, they get redirected to the Google SSO. Upon successfully logging in, Google redirects the user back to the website and a session token is placed.

The goal is that the web application has a REST API endpoint, which is used by the website to fetch/update data.

I'm now wondering what the best practice would be to provide security for the REST API. Should the website use the session cookie to request single-use tokens from the API to perform requests, can the website just use the session cookie to perform requests or is there another bette

13

r/libreoffice•

I'm using headless libreoffice to automate the export of spreadsheets to pdf's. Although the documentation is quiet detailed, it's hard to get the arguments to work correctly.

Concretely, I'd like the sheets to be exported on A4 pages, with one sheet per page. Following the documentation, the command for this would be:

libreoffice --convert-to 'pdf:calc_pdf_Export:{"SinglePageSheets":{"type":"boolean","value":"true"},"PaperSize":{"type":"string","value":"A4"}}' spreadsheet.xlsx --outdir /tmp/exports

Although the sheets fit the pdf pages, the pages are not A4 (i.e. the second comma

33