Skip to content
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

displayName and mail details are not passed to confluence 7.13.2 on new user creation or update #62

Open
ChopperHarley73 opened this issue Dec 6, 2021 · 5 comments

Comments

@ChopperHarley73
Copy link

New users since update of confluence to version 7.13.2 but possible since also 7.4.7 have only their uid (REMOTE_USER) value populated but not the CONF_EMAIL or CONF_FULLNAME. SAML trace shows the values are present in the SSO request but do not make it to the confluence user table.

Running openjdk 8, confluence reported javaversion 1.8.2. Ubuntu 20.04, but also did not work on Ubuntu 18.04.

@gmkll
Copy link
Contributor

gmkll commented Dec 6, 2021

This may be related to issue #61. Have you checked your logs setting log level to debug for shibauth/confluence/authentication/shibboleth/RemoteUserAuthenticator? Previous releases still supported confluence 6 and java 7. This is updated and we should release this as v2.7.4 soon IMO.

@ChopperHarley73
Copy link
Author

ChopperHarley73 commented Dec 7, 2021 via email

@gmkll
Copy link
Contributor

gmkll commented Dec 7, 2021

sorry, to be inexact here - these are java maven options. Actually the best would be, if you could not build this plugin yourself, that the maintainers of this plugin publish a new release, where this is all set appropriately.

Though I am one of the maintainers (having the rights to do this) l'll try to do this, though I need to find a time slot to do it, hopefully this week!

That said, it seems after some investigation, that indeed the signature of the Atlassian method

ImmutableUser.Builder.toUser()

changed (since at least v.3.3 to currently latest v.4.4.0, https://docs.atlassian.com/atlassian-crowd/) in returning

public ImmutableUser toUser(), exactly com.atlassian.crowd.embedded.impl.ImmutableUser

while it used to be before
com.atlassian.crowd.embedded.api.User.

That explains it probably!

@gmkll
Copy link
Contributor

gmkll commented Dec 7, 2021

you may try the newly compiled (minimal confluence v 7.11.6) plugin here: releases 2.7.4.

@ChopperHarley73
Copy link
Author

ChopperHarley73 commented Dec 13, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants