Questions tagged [clientcredential]
90 questions
2
votes
1 answer
Client Credentials Flow for Azure DevOps
I have been looking at this issue for days and I know from experience that I usually work these things out but this time I have hit a brick wall.
Scenario
I have a python app that gets instantiated inside an Azure DevOps YAML pipeline.
The app calls…

RuSs
- 1,725
- 1
- 29
- 47
2
votes
1 answer
Spring Webflux: Assertion for redirectUriTemplate to be not null, even though I am using OAuth 2.0 client credentials
I am using Spring Boot 2.2.4 with spring-boot-starter-webflux, spring-boot-starter-security and spring-security-oauth2-client.
With the reactive WebClient I want to call Auth0's management API using OAuth 2.0 client credentials to get some user…

Harold L. Brown
- 8,423
- 11
- 57
- 109
2
votes
2 answers
Does passport.js support 'Client Credentials Flow'?
I am creating a node.js webapp to access GettyImages API using 'Client Credentials Flow'
Does passport.js support it? if yes, how can I implement that?

A-letubby
- 8,474
- 8
- 38
- 48
1
vote
2 answers
How can I identify if an access token has been created through either client credentials or authorisation code flows?
Is there a standardised way of differentiating that an access token has been created through either client credentials or authorisation code flows? I know that the authorization code flow is used for user authentication and contains user personal…

Stefan Rusen
- 27
- 6
1
vote
0 answers
How do you set in Thunder Client the access-token retrieved from collection authentication as an environment variable?
I have a collection in Thunder Client. In the collection settings I setup the authentication, with Oauth 2 client credentials grant, which generates a token.
The documentation describes that token is saved and will be included in the…

Julio Martínez
- 61
- 7
1
vote
1 answer
Any way to include the App Registration name in the access token when using Client Credentials flow?
I use Azure AD to implement auth^2.
When I use a access token from a user I get a claim such as unique_name or upn which contains a user identifier I can use to log into the DB for logging/tracking/auditing.
If I use an App Registration as a service…

gedemagt
- 657
- 1
- 9
- 22
1
vote
1 answer
Azure AD on-behalf-of for service principal
I have an Api in Azure that 3rd parties should integrate with. Each client app (app registration) represents a company and should only access that company's data, the same way a user would only access it's company's data. My problem is that there's…

Erik Särner
- 1,037
- 6
- 8
1
vote
2 answers
Migrating to Openiddict 4.0.0 breaks HotChocolate GraphQL authorization for client credentials flow if token encryption is enabled
I've an ASP.NET Core project which hosts both an identity server using Openiddict and a resource server using HotChocolate GraphQL package.
Client-credentials flow is enabled in the system. The token is encrypted using RSA algorithm.
Till now, I had…

Sk Shahnawaz-ul Haque
- 544
- 8
- 17
1
vote
0 answers
IdentityServer4 with ASP.NET Identity and client credentials flow
I have IdentityServer4 (IDS4) working with multiple apps (Blazor WASM, ASP.NET Core API) using authorization_code. I'm using ASP.NET Identity for all apps.
I added one more API controller to Identityserver4 app (Controllers/Api/AccountController)…

ahnirab
- 168
- 1
- 11
1
vote
1 answer
Is it possible to add customization claim in Client Credential Flow?
I'm working on Client Credential Flow to authenticate two applications but I want to add some information in access token. Can we customize claim and include it in access token ?

Cristiano
- 21
- 1
1
vote
0 answers
How to implement OAuth2.0 using client credentials grant-type in a way that it supports Json raw body with token request in c#
My project is a web api project which is using owin for generating token after authentication. it is built using asp.net framework.
It currently accepts token request in below format -
var client = new…

Richa Dubey
- 11
- 1
1
vote
1 answer
Get 405/404 error when trying to send mails with Graph API (OAuth2 client credentials flow)
I'm making a Java application to send Mail as any user in a Microsoft tenant, with Graph APIs, so I'm using the client credentials flow (no login, automatic send).
I've registered an app in Azure AD giving the following application permissions (not…

bisi
- 31
- 3
1
vote
1 answer
AAD client-credentials flow request scope for web api
I got a console app that needs to support two flows, authenticating against AAD to talk to a web api:
for regular usage by humans, it needs to support interactive login
for usage by a CI/CD pipeline it needs to support client-credentials.
The…

Modern Ronin
- 571
- 1
- 5
- 13
1
vote
0 answers
How do i enable 2-legged oauth for a social sign device (Smiirl) use case to display number of followers. #linkedin
For marketing purposes we purchased a custom physical counter device (www.smiirl.com) and would like it to show in real time the number of followers to our organization on linkedin.
We would like to use the Organization Network Size API (Follower…

Mårten Cassel
- 46
- 4
1
vote
1 answer
Keycloak - how to get service account roles in client credentials access token
I want a backend app to use another backend service's API, and control per app what it is authorized to call on the backend service. I am using OAuth 2.0 client credentials flow and Keycloak as the authorization server.
I expect roles defined for…

manuel
- 31
- 6