Adding a way to pass in a custom adapter would be fine to add. I think this
is already supported though, but need to check code to confirm that (I'm
travelling right now so can't do it now).
However, what is it that you actually want? To extend the Cordova support
to also be able to use the native browser (i.e. custom tabs on Android,
https://openid.github.io/AppAuth-Android/)? If so that's something we would
like to have directly.
On 5 March 2018 at 15:25, Wojciech Trocki <wtr(a)redhat.com> wrote:
Hi
I have been using keycloak.js for more than year mainly with the mobile
applications (Cordova).
Library is pretty well designed however there are some minor limitations in
terms of what adapters could do.
>From my point of view javascript library is missing ability to provide
some
custom implementations for adapters.
Additionally implementations are provided as objects so it's hard to see
and conform this undocumented interface.
I'm happy to contribute any changes that will make sense upstream.
I have created issue to cover exact use case where this is needed:
https://issues.jboss.org/browse/KEYCLOAK-6798
Adding this functionality will also make it trivial to implement support
for different mobile platforms like ReactNative etc.
Regards
Wojtek
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev