I'm new in crowd and I have some codes to connect to crowd via a node package:
var CrowdClient = require('atlassian-crowd-client');
var crowd = new CrowdClient({
baseUrl: 'http://myhost/crowd/console/login.action',
application: { name: 'app', password: 'password' }
});
module.exports = {
show: function (req, res) {
crowd.session.create('my-username', 'my-password').then(function (session) { console.log('Crowd SSO token is ' + session.token); }); }
};
but it returns Error: Invalid Response from Crowd, expecting JSON error! what should I do?
Hey @fjavadpour,
For development related queries, please do feel free to post your question on our portal below:
- https://developer.atlassian.com/community
Hope this helps :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.