skip to Main Content

Oauth2 refresh_token doesn't exists – PHP

I use below code but when I login via Microsoft account I don't receive refresh_token. Someone can explain why? $login = 'https://login.microsoftonline.com/xxxxxxxxxxxxxxxxxxxxxxxxx/oauth2/v2.0/authorize?'.http_build_query([ 'client_id' => $id, 'scope' => 'https://outlook.office.com/IMAP.AccessAsUser.All', 'redirect_uri' => $redirect, 'response_type' => 'code', ]);

VIEW QUESTION

Azure – Spring Boot OAuth2 invalid_user_info_response

Im building a webMVC app with Azure as Identity Provider and Im getting the following error: [invalid_user_info_response] An error occurred while attempting to retrieve the UserInfo Resource: I/O error on GET request for "https://graph.microsoft.com/oidc/userinfo": graph.microsoft.com [nio-8080-exec-3] o.s.web.client.RestTemplate : HTTP GET…

VIEW QUESTION
Back To Top
Search