How to get client secret from azure active directory for own application for using one business application for business?

I am developing an outlook plugin. I want to use one API in it. I easily got the client id and client secret for using the API for personal accounts of one drive. But when I registered the application for one business application for business in the azure active directory, he created for me only the client identifier, but did not create any client secret. I chose my own application during registration, as my application is a native application. I cannot authenticate a user without client privacy. Please let me know how to get a client secret. Thanks in advance.

+4
source share
3 answers

Native clients do not have any secrets associated with them - given that they are designed to work on devices, it is assumed that they will not be able to protect the secret. Native clients use the clientID to indicate the client application, but authentication is always performed using user authentication in the process. If you select any of your own client samples at http://github.com/azureadsamples , you will see how clientid is enough to run custom auth.

+5
source

. "". . , , .

enter image description here enter image description here enter image description here enter image description here

+4

Once you leave the page after saving your information, you will not be able to get the client’s secret from the Azure website. You need to create a new secret, and when you click "Save", immediately go and copy the secret and keep it safe. This is the only time it is available on the Azure website.

0
source

Source: https://habr.com/ru/post/1607631/


All Articles