Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OAuth2TokenVerify introspect AZURE Tenant grant_type #71

Closed
pelord opened this issue Feb 5, 2025 · 1 comment
Closed

OAuth2TokenVerify introspect AZURE Tenant grant_type #71

pelord opened this issue Feb 5, 2025 · 1 comment

Comments

@pelord
Copy link

pelord commented Feb 5, 2025

Hi

Here my config.

        <If "%{QUERY_STRING} =~ /PATH/">
                AuthType oauth2
                LogLevel debug oauth2:trace5  
                OAuth2TokenVerify introspect https://login.microsoftonline.com/{TENANT}/oauth2/v2.0/token introspect.ssl_verify=false&introspect.auth=client_secret_basic&client_id={CLIENT_ID}&client_secret={CLIENT_SECRET}
                Require valid-user
        </If>

The log provide me this error!

{
  "error": "invalid_request",
  "error_description": "AADSTS900144: The request body must contain the following parameter: 'grant_type'. Trace ID: {trace_id} Correlation ID: {correlation_id} Timestamp: 2025-02-05 20:23:00Z",
  "error_codes": [900144],
  "timestamp": "2025-02-05 20:23:00Z",
  "trace_id": "{trace_id}",
  "correlation_id": "{correlation_id}",
  "error_uri": "https://login.microsoftonline.com/error?code=900144"
}

Any clues?

@pelord pelord changed the title OAuth2TokenVerify introspect AZURE Tenant OAuth2TokenVerify introspect AZURE Tenant grant_type Feb 5, 2025
@zandbelt zandbelt closed this as completed Feb 5, 2025
This was referenced Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants