I'm using Azure Ad authentication in my asp.net core application and want to authenticate CSOM using the same user which authenticated using their AD account.
One way is maybe if I acquire the token of the current user and use it with the context of CSOM.
It's very unclear and Microsoft docs aren't helpful either.
Would really appreciate any type of help.