Welcome Guest, Not a member yet? Register   Sign In
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 Microsoft data
Reply




Theme © iAndrew 2016 - Forum software by © MyBB