Questions tagged [clientcredential]

90 questions
0
votes
0 answers

401 Encountered when generating token with client_credentials Java 6 EE

I tried to use the following method which is used in other areas of the app but I still get 401: The original question is posted here: Java 6 EE Client Credentials Bearer String urlParameters =…
0
votes
0 answers

Teams Meeting Integration in ,Net Core Web API

https://graph.microsoft.com/v1.0/users/{id | userPrincipalName}/calendar/events I want to generate link of teams. Can I generate link using token generated by string[] scopes = new string[] {"https://graph.microsoft.com/.default"}; var result =…
0
votes
1 answer

Created a user pool client using Cognito Identity Provider Client SDK for JavaScript v3, but can't fetch token using (client_credentials) grant type

Created a user pool client using Cognito Identity Provider Client SDK for JavaScript v3 npm install @aws-sdk/client-cognito-identity-provider. The following code shows how I created the resources server and the user pool client, using the mentioned…
0
votes
0 answers

OpenIdConnect client using client credentials for .NET framework 4.x app help needed

I am trying to figure out how to implement the client credential flow in .NET Framework 4.8 app. The identity server is externally managed so this app will be requesting a token and refresh it as needed. Later when it needs to access the external…
0
votes
0 answers

client_credentials flow using doorkeeper + rails + doorkeeper JWT, How to authenticate the flow

I have an application that uses both the flows client_credentials and authorization_code. Initially we were only following the authorization_code grant flow and created a doorkeeper strategy to handle use log in. Now we are trying to implement…
0
votes
0 answers

Update audit records using client credentials grant type

I'm trying to set up Identity Server in a multi-tenancy environment but I'm struggling to get the ClientCredentials Grant Type and how I can audit record changes. If I use the code flow grant type I obviously have a user & roles. I can then create…
Sun
  • 4,458
  • 14
  • 66
  • 108
0
votes
2 answers

Intermittent ExchangeException when getting EWS mail folders using GetEWSClient in Aspose.Email

I have a Windows service that uses Aspose.Email to call Exchange365 using EWS to read the list of mailbox folders, select a folder and then read the messages. I'm using OAuth Client Credentials authentication. It works great most of the time but…
demoncodemonkey
  • 11,730
  • 10
  • 61
  • 103
0
votes
1 answer

Ruby implementing oauth2 client credentials flow

I'm new to Ruby and I'm trying to implement a oauth2 with client credentials flow. I've found the "ouath2" gem, but that requires a redirect_uri that I don't have. Here is the gem. Here is what I'm trying to implement secret_id =…
0
votes
3 answers

How to securely let an app access a different app using OAUTH and client credentialing grant flow?

I am new to OAUTH and API access and authorization and have been reading about it to conceive a high-level solution for integrating two applications. I work for company A which makes product A. Product A is hosted on Azure and is a RESTful API. We…
user176047
  • 311
  • 4
  • 20
0
votes
1 answer

Create client credentials flow with custom policies from Azure

I would like to know how I could create a client credentials flow with custom policies. any example??? thanks
0
votes
1 answer

C# - Get Graph access token - using Client ID, Client Secret, Scope with Client Delegated Permissions

I have got the graph delegated permissions on my AAD app Client ID. Now, I want to request access token for the graph calls using app Client ID, app Client Secret and Graph Scope in the backend without user consent. I have tried the below approach…
0
votes
1 answer

Client Credential Flow in power automate

We want to call 3rd party API, the 3rd party API follow the Client Credential flow as per this document:- https://auth0.com/docs/get-started/authentication-and-authorization-flow/client-credentials-flow so how we can call this API inside our Power…
0
votes
1 answer

Instagram API, fetching instagram images with client credentials instead of users access tokens

I need to show images from my Instagram business account to my website. I just need the last 5 images. I do not need other Instagram accounts and access tokens (I want to pull images with my user). By…
0
votes
1 answer

JMeter: Oauth 2.0 Token Generation- Getting Timed Out

I am trying to do API Testing by JMeter in two steps: 1. Generate Acess Token Here, the authentication request is getting timed out. Authentication Type: OAuth2.0 Grant Type- Client Credentials I am passing the token URL and grant_type, client_id…
Aditya Singh
  • 31
  • 1
  • 7
0
votes
0 answers

Is there anything to do with order of writing scope for client credential flow in Node.js?

I am trying to call a get API that gives patient details from Cerner EHR. I am using the system based SMART app. But when I am trying to call it, I get an error invalid scope. 'scope':' system/Observation.write system/Patient.read…