nextcloud / nextcloud/user_saml
Can't login with Saml
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 104
- Forks
- 85
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 16
Description
Account not provisioned.
Your account is not provisioned, access to this service is thus not possible.
-->
Steps to reproduce
1.login
Server configuration
Operating system: Ubuntu
**Web server: nginx 1.17.8
**Database: mysql
**PHP version: 7.4
**Nextcloud version: 18.0.0
__
My IDP is Auth0
Logs
Nextcloud log (data/owncloud.log)
Insert your Nextcloud log here
Error | index | OneLogin\Saml2\Error: Invalid array settings: idp_entityId_not_found | | 2020-02-05T09:27:05-0800
-- | -- | -- | -- | --
Fatal | user_saml | IDP parameter for the UID (urn:oid:1.3.6.1.4.1.5923.1.1.1.6) not found. Possible parameters are: ["http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/nameidentifier","http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/emailaddress","http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/name","http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/upn","http:\/\/schemas.auth0.com\/identities\/default\/connection","http:\/\/schemas.auth0.com\/identities\/default\/provider","http:\/\/schemas.auth0.com\/identities\/default\/isSocial","http:\/\/schemas.auth0.com\/picture","http:\/\/schemas.auth0.com\/nickname","http:\/\/schemas.auth0.com\/email_verified","http:\/\/schemas.auth0.com\/clientID","http:\/\/schemas.auth0.com\/updated_at","http:\/\/schemas.auth0.com\/created_at"] | | 2020-02-05T09:25:10-0800
Fatal | user_saml | IDP parameter for the UID (urn:oid:1.3.6.1.4.1.5923.1.1.1.6) not found. Possible parameters are: ["http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/nameidentifier","http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/emailaddress","http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/name","http:\/\/schemas.xmlsoap.org\/ws\/2005\/05\/identity\/claims\/upn","http:\/\/schemas.auth0.com\/identities\/default\/connection","http:\/\/schemas.auth0.com\/identities\/default\/provider","http:\/\/schemas.auth0.com\/identities\/default\/isSocial","http:\/\/schemas.auth0.com\/picture","http:\/\/schemas.auth0.com\/nickname","http:\/\/schemas.auth0.com\/email_verified","http:\/\/schemas.auth0.com\/clientID","http:\/\/schemas.auth0.com\/updated_at","http:\/\/schemas.auth0.com\/created_at"]
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 with data/owncloud.log and the user_saml authentication flow, using the reported Auth0 attributes and missing UID claim as the reproduction context. Determine whether the issue is in claim mapping or provisioning, and consider it done only when the stated setup can complete login without the reported error and the behavior is covered by an appropriate check.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mysql, nginx, php
- Domain
- authentication, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100