Support for Basic Auth

Created on 22 November 2023, about 1 year ago

Problem/Motivation

When server is behind basic authentication, on the client side I've got the following error:

openid_connect_generic Error Could not retrieve tokens. Details: Client error: POST https://example.com/access_token resulted in a 401 Unauthorized response

Steps to reproduce

1. Configure module.
2. Set Token endpoint at /admin/config/people/openid-connect/%/edit
3. Test SSO.

Proposed resolution

In src/Plugin/OpenIDConnectClientBase.php I can't see support for auth headers for getRequestOptions().
This should be added.

Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom kenorb

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024