Oauth2.0 iOS app

Timate 1 Reputation point

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.


Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,397 questions
Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,727 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Zehui Yao_MSFT 5,846 Reputation points

    Hello @Timate , 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://learn.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-device-code


    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.