nextcloud / nextcloud/user_saml
UserLoggedInEvent nor PostLoginEvent is emitted for user logins
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 104
- Forks
- 85
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
Steps to reproduce
- Configure SAML via AzureAD
- Configure auto_groups to assign groups automatically to every user
- Login with account via AzureAD SSO
Expected behaviour
User logs in to nextcloud, gets groups assigned automatically.
Actual behaviour
User logs in successfully but no groups are assigned
Server configuration
Operating system: CentOS 8
Web server: Nginx
Database: PostgreSQL 12.3
PHP version: 7.3.17
Nextcloud version: 18.0.4
Where did you install Nextcloud from: Linuxserver/nextcloud via docker hub
List of activated apps:
Nextcloud_apps.txt
Nextcloud configuration:
Nextcloud_configuration.txt
Client configuration
Browser: Firefox 76.01 & Chrome 83.0.4103.61
Operating system: Windows 10
Logs
Nextcloud log (data/owncloud.log)
Related issue
I have created a relatable issue with the other app, after coming to the conclusion it's probably this app causing the bug I raised the issue here. See: https://github.com/stjosh/auto_groups/issues/42
The other app checks for UserLoggedInEvent or PostLoginEvents however this app apparently does not emit it.
Contributor guide
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 by tracing the SAML login flow and comparing it with the UserLoggedInEvent and PostLoginEvent expectations described in the issue. Reproduce the AzureAD SSO login with auto_groups enabled, then verify that the relevant event is emitted and that automatic group assignment occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100