SergeyRolich / ionic2-keycloak

Ionic 2 app with Keycloak integration
11 stars 6 forks source link

Root URL #4

Open henriquelssantiago opened 6 years ago

henriquelssantiago commented 6 years ago

What the root url i have to put at my keycloak client? When i'm building an angular app, i put the url of the application, http://localhost:4200/myapp for example. But in this case, when i'm running in a smartphone or tablet... what i have to put?

SergeyRolich commented 6 years ago

@henriquelssantiago The root URL is the address on which the keycloak service is available. For example http://localhost:8080/auth

henriquelssantiago commented 6 years ago

Ya, i know that. but, what root URL i put for an app? What root URL i put for the app running on the smartphone?

SergeyRolich commented 6 years ago

Localhost, keycloak open in app browser, and after redirect to localhost. Here example keycloak realm for cordova app, https://github.com/keycloak/keycloak/blob/master/examples/cordova/example-realm.json