Laravel Socialite Providers - Microsoft Issue - laravel

When implementing Laravel Socialite Providers for Microsoft to authenticate users below issue throws. How to fix this.
GuzzleHttp\Exception\ClientException
Client error: POST https://login.microsoftonline.com/common/oauth2/v2.0/token resulted in a 400 Bad Request response: {"error":"invalid_grant","error_description":"AADSTS70000: The request was denied because one or more scopes requested a (truncated...)
Azure Active Directory Permissions

Related

Laravel Passport error when login, use together with Laravel Socialite

I'm building 2 apps which 1 for the OAuth by using Laravel Passport and another app is using the Laravel Socialite with the Provider from https://socialiteproviders.com/Laravel-Passport/
I have set up all the route and have ran passport:install
And at the second application, I have install Laravel Socialite with provider.
Provider settings are also set in config and .env file
But when I try to login, it show error as below, but I confirm that I can login normally using web in OAuth application
Client error: `POST http://localhost:8002/oauth/token` resulted in a `401 Unauthorized` response: {"error":"invalid_client","error_description":"Client authentication failed","message":"Client authentication failed"}
What am I missing? Any help is appreciated.

Laravel Socialite Twitter Provider - Could not authenticate

I'm using Laravel Socialite in a project and added the Twitter Provider in order to be able to allow my users to integrate with their Twitter account. I followed the steps here https://socialiteproviders.com/Twitter/ and I'm getting the following error:
Received HTTP status code [401] with message "{"errors":[{"code":32,"message":"Could not authenticate you."}]}" when getting temporary credentials.
If I leave the TWITTER_REDIRECT_URI in my env file blank, the error goes away and the Oauth flow works exactly as it's supposed to. Is anyone else having this issue? If the TWITTER_REDIRECT_URI isn't needed why have it in the docs?

laravel authantication error with google API

I have been using Socilte Package for users login, I am using Facebook and Google.
Facebook is working fine but Google API is not working,
Showing an error while returning from Google.
403 - Forbidden
The Web server is configured to not list the contents of this directory or you do not have enough permissions to access the resource
Error is similar to this post
But I didn't found solution in this post. Google+ API is also enabled and no issue with credentials.
Domain is verified.

laravel socialite 3.0 getting error during Google+ login

laravel
Client error: GET https://www.googleapis.com/plus/v1/people/me?prettyPrint=false resulted in a 403 Forbidden response:
{"error":{"errors":[{"domain":"usageLimits","reason":"accessNotConfigured","message":"Project
892227784590 is not found (truncated...)
Make sure you've created an application in Google's console and also have your client id and client secret from google. Also make sure you've configured google option in your config/services.php.

401 - Unauthorized: Access is denied due to invalid credentials when Trying to access the TFS API by postamn

i am getting 401 - Unauthorised: Access is denied due to invalid credentials error while i am trying to access the TFS API by Postman
https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql
this is i am putting in my Postman
http://apactfs.cbre.com:8080/tfs/applications/DefaultCollection/_apis/wit/workitems?ids=297,299,300&api-version=1.0
Postman image
You need to go to Authorization tab to choose Basic Auth and specify the username and password there:
Make sure you have enable Basic Auth for your TFS:

Resources