OAuth2 authentication with client_credentials #1877
bbenameur
started this conversation in
Show and tell
Replies: 1 comment
-
Hi Béchir! Please show and attach all configuration artifacts when you connect to this downstream service directly, without Ocelot gateway. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Expected Behavior / New Feature
I need to use an OAuth2 Authentication, grant_type = client_credentials
my input are :
1- Token url
2- ClientId
3- ClientSecret
4- Grant_Type : client_credentials
Actual Behavior / Motivation for New Feature
I'm trying to use ocelot with OAuth2 Authentication, grant_type = client_credentials
but I have always a 401 http status code like a route is not authorized
Steps to Reproduce the Problem
on the ocelot.json:
even when i see the log there is not call to token url (https://xxxxxxxxxxxxxx/token)
Specifications
Beta Was this translation helpful? Give feedback.
All reactions