question

Timate-3771 avatar image
0 Votes"
Timate-3771 asked ZehuiYaoMSFT-7151 commented

Oauth2.0 iOS app

Hi there
I found this scheme of auth with oauth2.0. (see attached). Can I use my custom backend server like web oauth2.0. For example, ios app send request to microsoft graph api and gets verification code. Then verification code sends to my custom server. After that my custom server sends it to microsoft graph api and gets access token which I can use in future for booking events in outlook calendar.

194670-screenshot-2022-04-20-at-165054.png


microsoft-graph-applicationsazure-mobile-app
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ZehuiYaoMSFT-7151 avatar image
0 Votes"
ZehuiYaoMSFT-7151 answered ZehuiYaoMSFT-7151 commented

Hello @Timate-3771, The Microsoft identity platform supports the device authorization grant, which allows users to sign in to input-constrained devices.
Here is the documentation for reference https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code

194941-image.png


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


image.png (54.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @Timate-3771, did the answer above help? please comment here if you have any questions.

0 Votes 0 ·