-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSO: Authentication module not found #181
Comments
If Cortex says that module oauth2 is not found, it means that class org.thp.cortex.services.OAuth2Srv is not found. I can't reproduce this problem. I've just added message at startup which list available authentication module. |
Thanks, after rebuilding the package, I don't get the error message as before. However, I'm now getting an error from elastic4play: "Attribute organization is missing". Full log:
My configuration for oauth2 is:
These authentication module are being loaded at startup:
|
The automatic user creation doesn't work because user must be assigned to an organization (I've used userMapper from TheHive which doesn't have organization). I'll add two more settings:
|
@adl1995 can you check and confirm this fix your issue ? |
I'm now getting a different error message: "User info fails". Full log:
My attributes now contain:
|
Your OAuth2 server does it really return an object with a "cortex" attribute (which contains the organization name) ?
|
That fixed the issue. Will close this issue now. Thanks a lot! |
Hi, Please kindly provide an example config fully that I can understand because I see that group.uri is used in the first question itself after that I don't see anything about that in the discussion |
Request Type
Bug
Problem Description
When trying to use single sign-on for Cortex (branch: develop), this error message appears in the logs:
I added
oauth2
andsso
inauth
configuration:Detailed logs
The text was updated successfully, but these errors were encountered: