I have created a customized crowd connector that gets users and groups from Azure AD and imported them via crowd to JIRA.
I have used the following method of my class that implements RemoteDirectory:
@Override public User authenticate(String name, PasswordCredential passwordCredential) throws OperationFailedException
Inside it, I have called Azure AD to get a token and once I get it, I returned the user.
Everything is working perfectly as this method is getting triggered on the login page of JIRA.
But, over internet, I’m redirected to the following popup (not a JIRA page) and obviously, my method will not be called and I cannot login. If I do “Cancel”, I will be redirected to JIRA and the login works fine.
What is wrong here? Can you please help me on how to login successfully from this popup too (as any user in JIRA) ?