Skip to content

Conversation

@mmoya
Copy link
Collaborator

@mmoya mmoya commented Jun 16, 2020

Do a lookup based on domain's MX servers. G Suite domains are expected
to have at least 'aspmx.l.google.com' listed in MXs.

See https://support.google.com/a/answer/140034

fixes #1425

Copy link
Collaborator

@dignifiedquire dignifiedquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice small diff :)

Do a lookup based on domain's MX servers. G Suite domains are expected
to have at least 'aspmx.l.google.com' listed in MXs.

See https://support.google.com/a/answer/140034

fixes #1425
@link2xt link2xt merged commit b5fa0f8 into master Jun 17, 2020
@link2xt link2xt deleted the gsuite-domains branch June 17, 2020 08:50
@rrthomas
Copy link

Brilliant, many thanks!

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

Successfully merging this pull request may close these issues.

Detecting G Suite domains for OAuth2 flow

5 participants