Skip to content

Incorrect protocol url and scope prefix used for MSOffice365Protocol #361

@rayeeskm

Description

@rayeeskm

When using MSOffice365Protocol as the protocol, during authentication it always fails with error

Unable to fetch auth token. Error: (invalid_client) AADSTS700025: Client is public so neither 'client_assertion' nor 'client_secret' should be presented.

The issue was found to be the following

class MSOffice365Protocol(Protocol):
_protocol_url = 'https://outlook.office.com/api/'
_oauth_scope_prefix = 'https://outlook.office.com/'

After changing it to the following, it seems to work fine

_protocol_url = 'https://outlook.office365.com/api/'
_oauth_scope_prefix = 'https://outlook.office365.com/'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions