Module OAuth: Difference between revisions

Jump to navigation Jump to search
m
Tag: 2017 source edit
Tag: 2017 source edit
Line 36: Line 36:
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 read your email box with the email collector.


*For Google*
'''For Google'''
 
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.
Scope: Choose the scope *gmail_full*
Scope: Choose the scope *gmail_full*


*For Microsoft Office365*
'''For Microsoft Office365'''
 
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.
Scope: Choose the scope: *https://outlook.office365.com/IMAP.AccessAsUser.All*. It if fails, choose: *https://outlook.office.com/.default*
Scope: Choose the scope: *https://outlook.office365.com/IMAP.AccessAsUser.All*. It if fails, choose: *https://outlook.office.com/.default*


Line 47: Line 51:
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 send emails.


*For Google*
'''For Google'''
 
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.
Scope: Choose the scope *gmail_full*
Scope: Choose the scope *gmail_full*


*For Microsoft Office365*
'''For Microsoft Office365'''
 
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.
Scope: Choose the scope: *https://outlook.office365.com/SMTP.Send*. It if fails, choose: *https://outlook.office.com/.default*
Scope: Choose the scope: *https://outlook.office365.com/SMTP.Send*. It if fails, choose: *https://outlook.office.com/.default*


Line 58: Line 66:
This is example of setup if you plan to use the OAuth provider to login. Note that for this purpose, creating the entry is enough, no need to generate the token.
This is example of setup if you plan to use the OAuth provider to login. Note that for this purpose, creating the entry is enough, no need to generate the token.


*For Google*
'''For Google'''
 
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.
Scope: Choose the scope *openid* and *email*
Scope: Choose the scope *openid* and *email*


*For Microsoft Office365*
'''For Microsoft Office365'''
 
Client ID / Secret ID: See chapter External documentation.
Client ID / Secret ID: See chapter External documentation.
Scope: Choose the scope *https://outlook.office.com/.default*
Scope: Choose the scope *https://outlook.office.com/.default*


== Generate the token ==
== Generate the token ==

Navigation menu