-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
OIDC: resolve users with no uid/gid by username (#3481)
- Loading branch information
Showing
8 changed files
with
86 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Bugfix: OIDC: resolve users with no uid/gid by username | ||
|
||
Previously we resolved such users (so called "lightweight" or "external" accounts in the CERN realm) | ||
by email, but it turns out that the same email may have multiple accounts associated to it. | ||
|
||
Therefore we now resolve them by username, that is the upn, which is unique. | ||
|
||
https://github.com/cs3org/reva/pull/3481 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
docs/content/en/docs/config/http/services/mailer/_index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: "mailer" | ||
linkTitle: "mailer" | ||
weight: 10 | ||
description: > | ||
Configuration for the mailer service | ||
--- | ||
|
||
# _struct: config_ | ||
|
||
{{% dir name="smtp_server" type="string" default="" %}} | ||
The hostname and port of the SMTP server. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/http/services/mailer/mailer.go#L54) | ||
{{< highlight toml >}} | ||
[http.services.mailer] | ||
smtp_server = "" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="sender_login" type="string" default="" %}} | ||
The email to be used to send mails. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/http/services/mailer/mailer.go#L55) | ||
{{< highlight toml >}} | ||
[http.services.mailer] | ||
sender_login = "" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="sender_password" type="string" default="" %}} | ||
The sender's password. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/http/services/mailer/mailer.go#L56) | ||
{{< highlight toml >}} | ||
[http.services.mailer] | ||
sender_password = "" | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
||
{{% dir name="disable_auth" type="bool" default=false %}} | ||
Whether to disable SMTP auth. [[Ref]](https://github.com/cs3org/reva/tree/master/internal/http/services/mailer/mailer.go#L57) | ||
{{< highlight toml >}} | ||
[http.services.mailer] | ||
disable_auth = false | ||
{{< /highlight >}} | ||
{{% /dir %}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters