• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Oauth wirh Microsoft

#1
I am trying to run an application with the microsoft login.

PHP Code:
$authUrl 'https://login.microsoftonline.com/id/oauth2/v2.0/authorize';
   $query   http_build_query([
        'client_id'     => ('client_id'),
        'client_secret' => ('client_secret'),
        'response_type' => 'code',
        'redirect_uri'  => 'https://dev.app.it/MS_login/login',
        'scope'         => 'User.Read profile openid email'
    ]);
  redirect($authUrl '?' $query);
    } 

Then how do I recover the Microsoft profile data
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.