Comments (4)
We do have a REST API however it's not possible to manage API Keys before creating just one (for example using installer).
If your case, where the aim is to have unattended setup, you have following options:
- connect using XMPP client and execute ad-hoc command (see XEP-0050: Ad-Hoc Commands) on REST module of HTTP-API component to add API key (same ad-hocs are used in Web AdminUI)
- in the repository add user
rest@http
and for that user add (intig_pairs
bridged viatig_nodes
as explained in Tigase Schema documentation property with key =api-keys
and value being XML representation, e.g.:<api-key owner="[email protected]" key="a2751e90-178b-461c-adf4-39c6315a52e4"/>
- create your own implementation of
ApiKeyRepository
(tigase.http.modules.rest.ApiKeyRepository
) that would retrieve API keys from desired source (file storage or other database/repository)
from tigase-server.
You can also use Tigase Command Line Management Tool which internally is an XMPP client, but allows you to manage Tigase from the command line.
from tigase-server.
Hello @woj-tek ,
I encounter similar issue. I tried to run this script in the docker https://github.com/tigase/tigase-docker-support/blob/master/8.0.0/scripts/start.sh. It performs upgade-schema operation, but adminJID is not created in the schema. So I am not able to login into admin page after the server is started.
Can you please advise why adminJID is not created?
Thanks
from tigase-server.
@agustino-lim I assume you don't want to to use WebInstaller (as described in QuickStart guide)?
And you do provide your configuration config.tdsl
so that the schema is correctly created? In that case, after you start the server you can simply use jabber:iq:register
and register account with JID matching one configured in config.tdsl
file.
from tigase-server.
Related Issues (20)
- problem with HA on AWS aurora mysql for DNS cache HOT 51
- problem with DefaultClusteringStrategy HOT 4
- how to completely disable pubsub? HOT 2
- Error trying to install Tigase server on GCP machine HOT 2
- dockerfile HOT 1
- tig_ma_msgs can`t insert records HOT 2
- Problems with Tigase after default initialization using Spark connection HOT 3
- is possibile to configure update-login-time-query? HOT 3
- maven build error HOT 7
- upgrade tigase from 7.1.5 to 8.2.2 HOT 29
- Secondary development online and offline messages HOT 6
- 用sprak连接tigase 8.2.2版本服务无法连接
- I tried to connect to tigase using smack and spark, but encountered the following error
- XEP-0485: PubSub Server Information support HOT 5
- Accound Disabled HOT 1
- Readme Quickstart Link broken HOT 1
- The BOSH port denies the connection HOT 5
- Can's access http://my-server-ip:8080/setup/ HOT 5
- 8.3.1 version HOT 1
- Inquiry About Licensing Options for Triplecyber HOT 2
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 tigase-server.