Category : oauth

Hi im gettin this error by making the http request on /oauth/authorize?$query {"error":"unsupported_grant_type","error_description":"The authorization grant type is not supported by the authorization server.","hint":"Check that all required parameters have been provided","message":"The authorization grant type is not supported by the authorization server."} Request: Route::get(‘/login’, function(Request $request) { $request->session()->put(‘state’, $state = Str::random(40)); $query = http_build_query([ ‘id’ => ‘9324f642-bd8a-4923-b2ad-a5b0d559424c’, ..

Read more

I am trying to figure it out what is the best solution for Laravel (or compatible with it) that provides an unified interface for autoposting (and scheduling) on several social networks like (for example): Facebook, Instagram, Twitter, Pinterest, Tumblr, Reddit … Based on my research I think that Laravel Socialite wasn’t meant for this purpose ..

Read more

I am facing an issue on Laravel passport issuing an access token from sever side. so whenever I fire oauth/redirect this route it’s given me code but I didn’t get token in oauth/redirect route here are my redirect and callback methods /** * @return IlluminateContractsFoundationApplication|IlluminateHttpJsonResponse|IlluminateHttpRedirectResponse|IlluminateRoutingRedirector|void */ public function redirect(Request $request) { try { $request->session()->put(‘state’, $state ..

Read more

i am developing a android mobile app which loggin in using email but i want to make login with phone number. when i convert things for phone number login it gives 401 unauthroised error please help me. I am using OAuth authentication. here are some error details.. 401 Unauthorized http://phplaravel-528344-1682591.cloudwaysapps.com/api/user/oauth/token (769ms) {error The user credentials ..

Read more

With email it generates successfully AccessToken but not with phone number please help me .. I am using OAuth authentication. here are some details.. 401 Unauthorized http://phplaravel-528344-1682591.cloudwaysapps.com/api/user/oauth/token (769ms) {error The user credentials were incorrect error description The user credentials were incorrect message The user credentials were incorrect} $tokenRequest = $request->create(‘/oauth/token’, ‘POST’, $request->all()); $request->request->add([ "client_id" => ..

Read more

i am developing a mobile app which loggin in using email but now With email it generates successfully AccessToken but not with phone number please help me .. I am using OAuth authentication. here are some details.. 401 Unauthorized http://phplaravel-528344-1682591.cloudwaysapps.com/api/user/oauth/token (769ms) {error The user credentials were incorrect error description The user credentials were incorrect message ..

Read more

I’m building a web app that has an API first design using Laravel for the API Angular for the UI. I’ve integrated Outlook Calendar using the Microsoft OAuth flow into the Angular app using their tutorial (https://docs.microsoft.com/en-us/graph/tutorials/angular?tutorial-step=3) which is working such that I can correctly attain a list of the current user’s calendar events that ..

Read more

Hey m trying to use The client credentials grant for machine-to-machine authentication. i followed all the steps here but that all wt m getting { "error": "unsupported_grant_type", "error_description": "The authorization grant type is not supported by the authorization server.", "hint": "Check that all required parameters have been provided", "message": "The authorization grant type is not ..

Read more

For an application I’ve made a bunch of MicroServices and a Gateway. The gateway receives the request and collects the data from the giroservices. All working fine. The gateway accepts all the requests and authenticates them using Laravel Passport. So the gateway has Laravel Passport installed. [gateway]/users/login accepts the login parameters: [users]/users/verify login details and ..

Read more

Laravel Socialite Twitter (Oauth1) I am having trouble with twitter login via laravel socialite. Socialite::driver(‘twitter’)->user(); the code above throws an error with message: Argument 1 passed to LeagueOAuth1ClientServerServer::getTokenCredentials() must be an instance of LeagueOAuth1ClientCredentialsTemporaryCredentials, null given I checked Laravel Socialite documentation and it says that to get the user details of a twitter account, I ..

Read more