Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
SSO with java
pojo
New
Hi all,
I'vs just download source in here: https://github.com/vanilla/jsConnectJava. I updated my client_id and secret in index.jsp file. After that run file jsp, but it works error. I missed item on index.jsp ?
Tagged:
0
Comments
error json: { "message": "The client_id parameter is missing.", "error": "invalid_request" }
Are you generating in insecure mode for testing?
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight : wow..it work properly after set secure=false....thank you so much..
After set up successfully, the link sign in will appearance....the user have to click this link log in the site....Can we automation login without clicking sso link...
one more question: each connection on jsconnect addon only use for 1 person ? If yes, we have 1000 persons, we have to create 1000 connection. Or we have another solutions for this issue ?Thanks
Be sure to revert to secure mode when finished.
Your connection should load the current user session and return details. You only need one endpoint.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
Hi @hgtonight :
In index.jsp file, I define a account:
user.put("name", "Test1");
user.put("email", "Test1@gmail.com");
user.put("photourl", "");
and I create discussion on forum by Test1. After that, I change account Test1 to Test2 and login.
user.put("name", "Test2");
user.put("email", "Test2@gmail.com");
user.put("photourl", "");
On previous Test1's discussion, I see author change Test1 to Test2. I want to Test1's discussion still be created by Test1 not Test2.
I have no idea what you are talking about.
SSO is separate from inserting discussions pragmatically, please start a new discussion.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
hi @hgtonight : sorry for my disturb , but I wan to know clearly how to jsconnect work. As I say above, first I have the Test1 account and create one discussion (refer screenshot below)
after that, I login with another account Test2 (only same client_id and secret) but Test1's discussion change to Test2...What's happen for this login?
Are you supplying different names but the same unique ID?
It looks like that is what is happening.
Search first
Check out the Documentation! We are always looking for new content and pull requests.
Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.
@hgtonight : yes, you're right. The unique ID is duplicated. Thanks for your support...:)