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

Custom Class as Authentication Adapter not working #38

Open
Dwarfex opened this issue Jul 27, 2021 · 0 comments
Open

Custom Class as Authentication Adapter not working #38

Dwarfex opened this issue Jul 27, 2021 · 0 comments
Labels
Bug Something isn't working

Comments

@Dwarfex
Copy link

Dwarfex commented Jul 27, 2021

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.

@Dwarfex Dwarfex added the Bug Something isn't working label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant