Update javascript-adapter.adoc

change hybird to hybrid
This commit is contained in:
任暁棟 2018-12-12 11:26:26 +08:00 committed by Matthew Helmke
parent 2f263a2500
commit cdf9c4dbf3

View file

@ -164,7 +164,7 @@ keycloak.init({ flow: 'hybrid' })
[#hybrid-apps-with-cordova]
==== Hybrid Apps with Cordova
Keycloak support hybird mobile apps developed with https://cordova.apache.org/[Apache Cordova]. The Javascript adapter has two modes for this: `cordova` and `cordova-native`:
Keycloak support hybrid mobile apps developed with https://cordova.apache.org/[Apache Cordova]. The Javascript adapter has two modes for this: `cordova` and `cordova-native`:
The default is cordova, which the adapter will automatically select if no adapter type has been configured and window.cordova is present.
When logging in, it will open an https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/[InApp Browser] that lets the user interact with {project_name} and afterwards returns to the app by redirecting to `http://localhost`. Because of this, you must whitelist this URL as a valid redirect-uri in the client configuration section of the Administration Console.