-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Customised federated cloud id to prevent something like [email protected]@nextcloud.mydomain.ltd #782
Comments
@schiessle wasn't there some discussion ongoing already? |
Yes, we discussed this already and it sounds link a interesting idea. The difficult part is that someone would need to maintain the mapping and make sure that it is always up-to-date. |
I think @icewind1991 had some similiar ideas... |
True but this is already the case in some way for uid mapping in the LDAP configuration. |
I think the resolving can be done using well-known URIs For example if original federated cloud id is : We should : add a .well-known redirection like this : https://example.com/.well-known/federated-cloud -> https://nextcloud.example.com So when we try to share to [email protected], nextcloud behave like this :
This way no user mapping is needed, only some basic redirection that already works with DAV. What do you think ? |
It looks quite simple and efficient indeed. |
This all sounds good and like a really interesting approach. But there is one open question for me:
Any idea to solve this problem? Should we just allow people to set their own federated cloud id in the personal settings? |
If we solve the remaining questions I would love to add it to the road map for Nextcloud 12. Of course I would also be happy if some of you would like to work on it 😃 |
I think this should be decided by the Nextcloud administrator. The choices can be:
Short username can be determined like this:
The domain should be customizable by the administrator. Because he can setup the Perhaps a check should be added in the administration panels to alert the administrator when the customized domain doesn't redirect to the nextcloud instance. I would like to work on that, but my last year of engineering school is taking too much time ! |
Another possibility is to use a DNS record (SRV) like this :
|
@icewind1991 I think this goes in the same direction we just discussed |
Are there any ongoing design discussion on this topic? |
is there any progress regarding this concept? |
I would really love to see this feature request get some traction. I think it would be great if Nextcloud users were really able to use their email address as their federated cloud ID (at least for users who have control over the domain name used in their email address). This would allow such users to have a stable federated cloud ID, regardless of the Nextcloud server they're currently using to store their data. |
Related #365 |
This is a repost of an issue that I originaly opened on owncloud/core#23412 but that did not get a definitive answer. Maybe with nextcloud it would be different :)
This is a thought about the federated cloud Id.
I have a LDAP for all my users and in every hosted service, the user name is mapped to the email. Let's say [email protected]
I configured a nextcloud instance on nextcloud.mydomain.ltd with LDAP and the users can successfully use it using their user name [email protected]
So far so good.
However, when they want to share their federated cloud id, they have to share john.doe@[email protected] which is quite non-intuitive as:
I completely understand why the federated cloud id is currently defined as it is. However there may be additional options that could be added. For instance, why not having something like this:
About
<right-part>
:-If false: john.doe would be the username from [email protected].
-If true; username would be [email protected].
3. When a foreign owncloud user would try to share something, it would try to see if there is a http://mydomain.ltd/nextcloud-federated-sharing.xml.
-If one is found then it would try sharing using the real federated id reconstructed from the xml: john.doe@[email protected]
-If none is found then use the regular federated sharing
This is a just a first thought that is quite similar to the autoconfig of email account configuration. Maybe it would also be possible to use DNS SRV records to do this.
Let me know what you think :)
The text was updated successfully, but these errors were encountered: