I am making rest call to get crowd token key like "/session?validate-password=false" as part of body I am passing user's username. However my requirement is like this:
I have two applications and the same person uses them with different username but the email address is same. So I am looking for a way to get crowd token key using users email address to authenticate user to Jira.
Please suggest a solution.
I think you should take it the other way round. The person you are talking about should have one account in Crowd, the username being his email address (e.g. john.doe@example.com) and aliases for the two applications (e.g. jdoe for application 1 and john for application 2). Thus you could pass the email address in your request's body and the user could use different login names on the two applications.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.