TheHive-Project / TheHive-Project/Cortex
autoupdate = false not take effect
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 264
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I ahve the oauth2 configure in order to do not autoupdate the role and profile and disable the auto login.
Autoupdate its profile and roles?
autoupdate = false or autoupdate = "false"
Autologin user using SSO?
autologin = false or autologin = "false"
The problem I see, the cortex keep updating the user profiles and roles, Also I see the below message:
[DEBUG] from org.thp.cortex.services.OAuth2Srv in application-akka.actor.default-dispatcher-15 - Updating OAuth/OIDC user
Can please help?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the org.thp.cortex.services.OAuth2Srv entry point and review how the OAuth2 settings autoupdate and autologin are read. Reproduce the reported configuration with both boolean forms and check the debug message; done means autoupdate=false prevents profile and role updates and autologin=false disables SSO login.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100