EwsEditor icon indicating copy to clipboard operation
EwsEditor copied to clipboard

Add App&Tenant ID to config?

Open SaschaTrollGeberit opened this issue 1 year ago • 3 comments

Is it possible to add the app and tenant ID to the config, so I don't must enter them every time?

image

SaschaTrollGeberit avatar Sep 27 '24 09:09 SaschaTrollGeberit

You will need to register an application registration in oAuth. When you do this, you should record the application name, redirect URL, application (client) id, tenant id. If you use an application oAuth flow instead of an delegate oAuth flow then you will also need the client secret VALUE - this is like a password, so be careful with it. You should read the following article: https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-authenticate-an-ews-application-by-using-oauth

dseph avatar Sep 27 '24 18:09 dseph

I already have registered app. But can I "save" them in EWS Editor, so I dont have to add them to the ID fields each time I use EWS Editor?

SaschaTrollGeberit avatar Sep 29 '24 22:09 SaschaTrollGeberit

It will not save your credentials or token - it will never support such since it's very unsafe to do so. You can download the code and add to save and retrieve setting if you wish. Please keep in mind that EWSEditor is by its mission a programmers test harness.


From: trc-geberit @.> Sent: Sunday, September 29, 2024 6:18 PM To: dseph/EwsEditor @.> Cc: Daniel Bagley @.>; Comment @.> Subject: Re: [dseph/EwsEditor] Add App&Tenant ID to config? (Issue #44)

I already have registered app. But can I "save" them in EWS Editor, so I dont have to add them to the ID fields each time I use EWS Editor?

— Reply to this email directly, view it on GitHubhttps://github.com/dseph/EwsEditor/issues/44#issuecomment-2381631178, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACCELKGCPJOC5O7YQ5CP2QLZZB4BVAVCNFSM6AAAAABO6YOAIGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGYZTCMJXHA. You are receiving this because you commented.Message ID: @.***>

dseph avatar Oct 01 '24 15:10 dseph