-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Invalid URL error - Group Parsing #344
Comments
I have the same issue. When using OIDC by setting sso.groups.url to null, Cortex still tries to take the group from this URL. Cortex should take the users groups from the first rest call and not try to fetch the sso.groups.url. As stated in the official doc: We have the same issue in TheHive4. |
Same issue here as well running Cortex 3.1.0. |
jiprocha
added a commit
to jiprocha/Cortex
that referenced
this issue
Dec 1, 2022
…ctionality This commit fixes issue TheHive-Project#344 by backporting fix from TheHive repository. Original pull request from which the backport was taken can be found at TheHive-Project/TheHive#1112.
To-om
pushed a commit
that referenced
this issue
Sep 20, 2023
…ctionality This commit fixes issue #344 by backporting fix from TheHive repository. Original pull request from which the backport was taken can be found at TheHive-Project/TheHive#1112.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Request Type
Bug
Work Environment
Problem Description
Invalid URL
error when attempting to use Group Mapper for OAUTH.Cortex mandates the use of Groups URL as per https://github.com/TheHive-Project/Cortex/blob/619b28a3cd2b9a46bb553baf1b647b25405620df/app/org/thp/cortex/services/mappers/GroupUserMapper.scala while the same info can be fetched from User URL
This seems to be the same error that was originally identified for TheHive by ananth07reddy in TheHive-Project/TheHive#1010
It was consequently fixed in TheHive-Project/TheHive#1112 but never in Cortex.
Steps to Reproduce
group
as per https://github.com/TheHive-Project/CortexDocs/blob/master/admin/admin-guide.md#oauth2openid-connectInvalid URL
Possible Solutions
Maybe port the solution from theHive TheHive-Project/TheHive#1112 to Cortex
Complementary information
The text was updated successfully, but these errors were encountered: