Module OAuth: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 33: Line 33:
This is some examples of value you can use according to OAuth provider and goal of the entry. Try to create 1 entry for each different purpose.
This is some examples of value you can use according to OAuth provider and goal of the entry. Try to create 1 entry for each different purpose.


=== For IMAP access ===
=== For SMTP access ===
This is example of setup if you plan to use the OAuth token to read your email box with the email collector.
This is example of setup if you plan to use the OAuth token to send emails.


====For Google====
====For Google====
Line 46: Line 46:
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.


Scope: Choose the scope: '''email''' + '''outlook.office.com/IMAP.AccessAsUser.All''' + '''outlook.office.com/SMTP.Send'''. Don't forget to also allow this permissions in Azure setup
Scope: Choose the scope: '''offline_access''' + '''outlook.office365.com/IMAP.AccessAsUser.All''' + '''outlook.office365.com/SMTP.Send'''. Don't forget to also allow this permissions in Azure setup


It if fails, choose: '''outlook.office.com/.default'''
It if fails, choose: '''outlook.office.com/.default'''


=== For SMTP access ===
=== For IMAP access ===
This is example of setup if you plan to use the OAuth token to send emails.
This is example of setup if you plan to use the OAuth token to read your email box with the email collector.


====For Google====
====For Google====
Line 63: Line 63:
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.


Scope: Choose the scope: '''offline_access''' + '''outlook.office365.com/IMAP.AccessAsUser.All''' + '''outlook.office365.com/SMTP.Send'''. Don't forget to also allow this permissions in Azure setup
Scope: Choose the scope: '''email''' + '''outlook.office.com/IMAP.AccessAsUser.All''' + '''outlook.office.com/SMTP.Send'''. Don't forget to also allow this permissions in Azure setup


It if fails, choose: '''outlook.office.com/.default'''
It if fails, choose: '''outlook.office.com/.default'''


=== For SSO Login ===
=== For SSO Login ===

Navigation menu