Comments (5)
Hi Dan,
it's set in the .env file, same directory as docker-compose.yml
# The below url has to be set if using social auth options
# or if you are not using BookStack at the root path of your domain.
APP_URL=https://dev-wiki.fsu.com
and my docker-compose.yml
version: '2'
services:
bookstack:
image: solidnerd/bookstack:0.21.0
restart: always
environment:
- DB_HOST=dsdfsdfsdf.cccskphrgnlg.us-xxx-1.rds.amazonaws.com:3306
- DB_DATABASE=bookstack
- DB_USERNAME=secretuser
- DB_PASSWORD=secretpassword
env_file: .env
volumes:
- uploads:/var/www/bookstack/public/uploads
- storage-uploads:/var/www/bookstack/public/storage
ports:
- "8080:80"
volumes:
uploads:
storage-uploads:
from docker-bookstack.
Hi @forescout-spollock,
Have you tried setting APP_URL=https://dev-wiki.fsu.com as an environment variable at all? Setting that should force a set base on all URLs generated in the system.
from docker-bookstack.
Any other ideas guys?
from docker-bookstack.
I had OKTA go through this trace. the http appears to be coming from the bookstack application.
Here is what they are saying:
To summarize our call, we identified the GET /authorize request/response to and from Okta to your application from the chrome browser dev tools. We also saw that the 'code' response was sent to https://dev-wiki.forescoutuniversity.com/login/service/okta/callback.
And from Okta logs, we captured the logs pertaining to /oauth2/v1/token request showing that the tokens were sent in the response successfully.
The issue could be at the application end. Hence I request you to troubleshoot more on how the application handles the tokens returned by Okta and what it does next to figure out who is redirecting to http://dev-wiki.forescoutuniversity.com.
More pointers:
Like discussed, in the Authorization Code Flow, we have two steps,
1. GET /authorize to get the code in the redirect_uri (https://developer.okta.com/docs/api/resources/oidc#authorize)
2. POST to /oauth2/v1/token endpoint along with code to get the tokens (https://developer.okta.com/docs/api/resources/oidc#token)
You can find more information here:
https://developer.okta.com/authentication-guide/implementing-authentication/auth-code
from docker-bookstack.
This issue has been automatically marked as stale because it has not had any activity for the last 30 days. It will be closed if no further activity occurs during the next 7 days. Thank you for your contributions.
from docker-bookstack.
Related Issues (20)
- Docker container not compatible with "bookstack-system-cli" . HOT 2
- unable to deploy in docker
- Images do not load in self hosted drawio instance
- Deploying the App with SSL certificates HOT 4
- Version 23.06 is out HOT 1
- Latest update Broke the Login Page HOT 24
- Remove in-container `.env` file in favour of container runtime environment settings HOT 2
- `latest` tagged image is not the latest image HOT 4
- Raspberry Pi4 support? HOT 1
- Restore database with sql file HOT 1
- New Installation: An unknown error occurred HOT 2
- Offer a way to update php.ini at startup based on `FILE_UPLOAD_SIZE_LIMIT` HOT 2
- Multi arch images? HOT 2
- Weird fresh install bug HOT 2
- Cannot upload image HOT 4
- Problem accessing uploaded attachments HOT 8
- Missing dependency for bookstack-system-cli HOT 2
- Problem with quick start HOT 5
- Incorrect launch HOT 1
- nginx 404 Not Found error HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-bookstack.