You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I was looking to see if, given a user's username and password, a request could be made to the confluence API that will verify whether or not the user's username and password combination is valid and return a value based upon that.
Is there any such endpoint/protocol?
I would suggest solving the problem differently, and bringing up SSO using an identity manager. Your secondary application can then just query the identity manager.
Unfortunately this ended up being the solution. Although I did not end up using SSO, I was able to solve the problem by refactoring the workflow a bit. After providing authentication credentials my application attempts a GET request of some data from the Confluence instance, which will 200 if the credentials are valid or give a specific error if invalid. Thanks for the help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Not sure what you want to do but you can do any REST Call that reauired authentication. If it returned http 401 it means that password/ username are wrong.
I would use this call.
https://docs.atlassian.com/ConfluenceServer/rest/7.18.3/#user-getCurrent
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
While I did not ultimately go with this solution to resolve the issue, I was able to utilize getCurrent elsewhere in the process. Thank you for this reference!
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.