Comments (6)
Huh! You might be the first person to ever try to run the docker on their own. I haven't actually ever tried to do it outside of the official rpgkeeper.com site. Sorry some of this hasn't been smoothed out already.
So, let me explain what's going on here. The way Google's login works, you have to whitelist domains. Since I can't be expected to whitelist every domain for every person who ever wants to run this, if you're going to run your own instance, you'll have to set up your own google project with an oAuth endpoint.
This is a good place to get started; you'll want to make a set of web client credentials:
https://support.google.com/cloud/answer/6158849?hl=en
Now, there's actually a problem in the configuration:
Looks like I need to add an env variable for overriding the google clientID. Once I do that, you'll need to set CLIENT_ID
and CLIENT_SECRET
in docker to your own values, from the oauth credentials you set up.
from rpgkeeper.
I added CLIENT_ID
so that should be in the latest docker. Let me know if you run into issues.
from rpgkeeper.
I'm also having this issue with the docker image, but Google Cloud Services is giving me a failed to load error when trying to create these credentials. Any suggestions?
from rpgkeeper.
Seems google has, yet again, changed their login libraries. sigh
I'll see about pushing up a fix for the google login shortly.
from rpgkeeper.
As of c6f6140, the docker image should work. You will likely have to specify the DOMAIN
environment variable to control what domain is used for the callback.
If you don't specify DOMAIN
, it will use /auth/google/redirect
for the callback url, and that seems to grab the host from the request. However, if you're behind a reverse proxy (or using cloudflare to get https, like I am) it might get the wrong host name. So, with DOMAIN
, you can override what comes before /auth/google/redirect
.
from rpgkeeper.
Good to go, nice work!
from rpgkeeper.
Related Issues (20)
- Add Attachments for Weapons and Armor
- Upgrade to new bundler HOT 1
- Support Attribution HOT 1
- [Bug Report] Notes page does not allow for system specific markup.
- Eote/Genesys character name and description are not displayed.
- Google Account appears to be sole log-in method HOT 3
- Production Deploy doesn't work
- The login cookie is shared between beta and production.
- [Bug Report] Setting a character's color doesn't save HOT 1
- Switch to nanoid for generated ids
- Versioning can be improved
- Google Login Does not work. HOT 8
- [Request] Would like to see OSRIC system HOT 6
- [Genesys] Change how to add talent slots
- [Bug Report] Deleting a character record leaves a note record HOT 1
- Support Critical Injuries that specify additional information.
- Genesys Talent "pyramid" display
- Add Genesys Motivation support
- [Bug Report] Notes for Talents are not editable when the Talent is official.
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 rpgkeeper.