asgardeo / asgardeo-auth-react-sdk

To maintain the implementation of Asgardeo React authentication SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Incorrect `responseMode` param is sent in RPIframe's prompt=none `authorize` request

brionmario opened this issue · comments

Describe the issue:

Response mode query is send with a wrong casing to the RPIframe's prompt=none authorize request.

Screenshot 2024-01-18 at 12 05 35

Reason

This seems to have been introduced with asgardeo/asgardeo-auth-spa-sdk@8b77734 change, and it was previously working fine due to the authparam transformation(https://github.com/asgardeo/asgardeo-auth-js-core/pull/203/files#diff-f34c1fc70c8dfe6982556af3ab69b70a42b7a68c9119cfa0bfa4716acd929750R120). This was removed with #208.

How to reproduce:

Enable OIDCSessionManagement in the SDK and inspect the prompt none requests from the RP Iframe.

Expected behavior:

responseMode should be response_mode and it should be query.

Environment information (Please complete the following information; remove any unnecessary fields) :

  • Product Version: 7.0.0-BETA6-SNAPSHOT
  • OS: Mac
  • Database: H2
  • Userstore: LDAP

Optional Fields

Related issues:

Suggested labels:

N/A