I registered my app at https://apps.dev.microsoft.com/. 1- I am trying to access calendar rest api. To perform the oauth2, i need the client secret. I can't seem to find the client secret. There is the option for password or private key but using both of those throws an error. Can you please tell me where to find the client secret?
2- There are multiple documents talking about multiple ways of registering an app. Should i register my app at https://apps.dev.microsoft.com/ which using the following end point or authorization: https://login.microsoftonline.com/common/oauth2/v2.0/authorize?
or the make an account on Azure AD and use the following end point: https://login.microsoftonline.com/common/oauth2/authorize?