Bug Report
Custom Adapters do not work.
| Q |
A |
| Version(s) |
1.6.x, 1.7.x |
Summary
Create a custom class extending OAuth2Adapter or HttpAdapter, register them via config.
The AuthenticationAdapterDelegatorFactory will never register an adapther that is not Oauth2Adapter or HttpAdapter
Current behavior
You will always get a 403 on Endpoints as you will never be authorized using the custom class, which results in a failed authorization.
How to reproduce
See:
Expected behavior
The AuthenticationAdapterDelegatorFactory registers any given Implementation of the AbstractAdapter with the listeners.
Bug Report
Custom Adapters do not work.
Summary
Create a custom class extending OAuth2Adapter or HttpAdapter, register them via config.
The AuthenticationAdapterDelegatorFactory will never register an adapther that is not Oauth2Adapter or HttpAdapter
Current behavior
You will always get a 403 on Endpoints as you will never be authorized using the custom class, which results in a failed authorization.
How to reproduce
See:
api-tools-mvc-auth/src/Factory/AuthenticationAdapterDelegatorFactory.php
Line 84 in 209ef60
Expected behavior
The AuthenticationAdapterDelegatorFactory registers any given Implementation of the AbstractAdapter with the listeners.