Comments (5)
We use NextAuth under the hood, so technically it's possible. We even have a credentials authorization which can be enabled by providing TEST_CREDENTIALS=1
.
That being said, we don't have nor internal resources, neither good reason to implement that. But we would welcome a contribution
from jitsu.
Well the information about TEST_CREDENTIALS
variable is a little bit wrong.
TEST_CREDENTIALS
exists indeed, however, as far as I see from sources, it expects from us to pass auth information in format login:hashed_password
into that. You can pass multiple accounts, all you need is just separate them with comma, i.e. login1:pass1,login2:pass2
.
To generate hashed password we can use the utility from this application which could be found here. To use it, you need to attach to container of console
application, and then run command and pass desired password as an argument, i.e.
docker-compose exec console /bin/bash
npm run tool:hash 12345678
, where 12345678
- password I want to get hash for.
After that you should see the message in console with hashed password, something like that:
INFO [password-hash]: Hashing 12345678 → fdaf73a55f267b0fa16b6d0e99239b04.a0082a3069d5cd0d3032eece8481fcf740b7ae9aaf3bc92734c95a639d53491a2f88345b5a41ac93329cfa14a2a2b54dd2a5f87c8fe59463bbe4136331967ac1
After that you can use it in your .env file like that:
TEST_CREDENTIALS="[email protected]:fdaf73a55f267b0fa16b6d0e99239b04.a0082a3069d5cd0d3032eece8481fcf740b7ae9aaf3bc92734c95a639d53491a2f88345b5a41ac93329cfa14a2a2b54dd2a5f87c8fe59463bbe4136331967ac1"
Unfortunately, there is no information about TEST_CREDENTIALS
variable in docs, so it took me some time to figure out how to use it. Hope it will save some time for someone :)
from jitsu.
Thanks, @kg-emid! That's how it works indeed. The reason we haven't documented it is that the purpose of this var is to run automated tests
from jitsu.
Related Issues (20)
- Robot Crawl Prevention HOT 3
- Cannot find module '@jitsu/protocols/analytics' HOT 3
- [@jitsu/js] support `react-native` HOT 2
- fix documentation excalidraws link edit permission HOT 1
- Kafka container is starting - unhealty HOT 2
- FB Conversions API Connector HOT 1
- setAnonymousId not persisting when calling track with @jitsu/js HOT 1
- writeKey is unnecessarily masked in Jitsu functions HOT 1
- Docker compose initial start seems to be broken HOT 3
- Source not found error HOT 4
- Source not found error_2 HOT 5
- QUESTION: is possible to retrieve an user API token via API? HOT 5
- I have successfully deployed it,How to modify the time zone,This is not my time zone HOT 2
- Google ads as destination HOT 4
- Replace Redis with Mongo for logs and persistent store HOT 3
- Rotor should pull config directly from postgres
- Ingest release: docker compose, documentation etc HOT 3
- Rotor Docker container crashes HOT 2
- Quick Start following https://docs.jitsu.com/self-hosting/quick-start HOT 1
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 jitsu.