-
Have I missed something, is it not possible, or am I making a mistake somewhere? Has anyone managed to restrict the use of Stirling PDF with Entra, or to authenticate the user via Entra? If so, would anyone have a Docker Compose file as an example? I have managed to get the app to run, but after authentication I just end up back at the login screen. Currently the container doesn't even start anymore and I'm wondering why :( Many thanks for a little help. Ronny |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 3 replies
-
Does no one have any ideas on this? |
Beta Was this translation helpful? Give feedback.
-
Can you share your current settings? |
Beta Was this translation helpful? Give feedback.
-
With this config, the container comes up: services: However, as soon as I make adjustments for Azure, I get the following message: The Issuer "https://sts.windows.net/xxxxxxxxxxxxxxxx/" provided in the configuration metadata did not match the requested issuer "https://login.microsoftonline.com/xxxxxxx/" Does anyone here have any tips? |
Beta Was this translation helpful? Give feedback.
-
Ok, I have now found out the Issuer URL at Azure... Now the redirect URL is probably not yet correct ... |
Beta Was this translation helpful? Give feedback.
-
Works now ;) Preparations Create an APP in Entra according to the known procedure. Necessary information from the Entra app, after configuration: Issuer: Client ID Reverse URL: Working Config; services: |
Beta Was this translation helpful? Give feedback.
Works now ;)
Preparations
Create an APP in Entra according to the known procedure.
Necessary information from the Entra app, after configuration:
Issuer:
https://login.microsoftonline.com/TenantID/v2.0
Client ID
Client Secret
Reverse URL:
https://xxxxxxx.ch/login/oauth2/code/oidc
Working Config;
services:
stirling-pdf:
container_name: Test-pdf-tool
image: frooodle/s-pdf:latest
deploy:
resources:
limits:
memory: 4G
healthcheck:
test:
- CMD-SHELL
- curl -f http://localhost:8080/api/v1/info/status | grep -q 'UP' &&
curl -fL http://localhost:8080/ | grep -q 'Please sign in'
interval: 5s
timeout: 10s
retries: 16
ports:
- 8075:8080
volumes:
- /docker/pdf_Test/data:/usr/share/tessdata:rw
- /d…