-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Document Google OpenID Connect email attribute #14081
Conversation
In the example config
This is a very short documentation change that I made using the GitHub web editor. Please let me know if all the boxes still need to be ticked |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very short documentation change that I made using the GitHub web editor. Please let me know if all the boxes still need to be ticked
Many thanks for this. Per that comment with the tickboxes, could you please:
- add a changelog entry
- a comment with your sign-off
There's no need to run the linters for a documentation-only change like this.
scopes: ["openid", "profile"] | ||
scopes: ["openid", "profile", "email"] # email is optional, read below |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm guessing this corresponds to the three scopes listed here?
https://developers.google.com/identity/protocols/oauth2/scopes#oauth2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sanity check: have you used this config yourself and confirmed that it works? (On matrix.org we are using the scope name https://www.googleapis.com/auth/userinfo.email
.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does, and yes.
How do you perform these steps using the GitHub web interface?
Thanks, that's what I thought. |
For adding a changelog entry, I think you want to go to the fork and branch that github has created for you and follow the instructions here. For adding a sign-off, writing a comment on this PR with |
You can go to https://github.com/ptman/synapse/tree/patch-1/changelog.d and click the For sign-off you can just add it manually via a comment on the PR. |
Signed-off-by: Paul Tötterman paul.totterman@iki.fi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Many thanks, SGTM!
In the example config
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)