wso2-extensions / identity-carbon-auth-rest

Apache License 2.0
1 stars 144 forks source link

Fail the authentication if "bearer <token>" pattern is not in the correct format #239

Closed pandukakarunasena closed 1 year ago

pandukakarunasena commented 1 year ago

Proposed changes in this pull request

Add a condition to fail the authentication flow if the Authorization header is not in the expected format when using Bearer token authentication. Here the expected pattern is Bearer <token>

Related Issues

https://github.com/wso2-enterprise/asgardeo-product/issues/17775

Related PRs

https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/2110

Checklist (for reviewing)

General

Functionality

Code

Tests

Security

Documentation

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.