Comments (1)
i just had this issue a couple of days ago.
my structure is the following
/backend
-mypythonfile
/config
-gitkit-server-config.json
-oauthkeyfile.p12
/frontend
server_config_json = path.realpath(path.join('config', 'gitkit-server-config.json'))
json_data = simplejson.load(open(server_config_json))
key_file = open(path.realpath(path.join('config', 'oauthkeyfile.p12')))
key = key_file.read()
key_file.close()
clientId = json_data.get('clientId')
projectId = json_data.get('projectId')
if not clientId and not projectId:
raise Exception('Missing projectId or clientId in server configuration.')
gitkit_instance = gitkitclient.GitkitClient(
clientId,
json_data['serviceAccountEmail'],
key,
json_data['widgetUrl'],
json_data['cookieName'],
None,
projectId)
this is the only workaround that i found till this moment, will update the FromConfigFile method so that it allows some path directive
from identity-toolkit-python-client.
Related Issues (11)
- pyOpenSSL version in setup.py HOT 3
- ApplicationDefaultCredentialsError on AWS HOT 9
- Provide identity-toolkit on app engine HOT 7
- PKCS12 format is not supported by the PyCrypto library HOT 4
- base64 decode error with unicode password hash
- UnicodeDecodeError
- Deprecation and migration to Firebase HOT 2
- Missing verifyEmail Action HOT 2
- Not Python3 compatible HOT 2
- Sometimes VerifyGitkitToken response is very slow HOT 8
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 identity-toolkit-python-client.