SergeyRolich / ionic2-keycloak

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

testable in browser? #2

Closed seiyria closed 7 years ago

seiyria commented 7 years ago

Is this testable in the browser? I'm having a few issues implementing this as-is and I'm fairly new to keycloak so I'm not sure what's up.

Right now, whenever I do a login, the page refreshes after putting a state in the URL, for example.

Thanks!

seiyria commented 7 years ago

Nevermind. Turns out I was somehow authenticated, probably from a prior session or somewhere else. Calling login while authenticated forces a page refresh, which, while undesirable, is not a problem if it never happens. Thanks for the great example!

SergeyRolich commented 7 years ago

You are welcome!