dukecon / dukecon_html5

MIT License
2 stars 3 forks source link

Add KeyCloak Profile Link #44

Closed ascheman closed 8 years ago

ascheman commented 8 years ago

It would be nice, if a logged in user could click on his name in the upper right corner and be connected to the KeyCloak profile login, e.g., https://keycloak.dukecon.org/auth/realms/dukecon-testing/account/.

@srose / @ahus1 : As far as I can see navigating to the link is sufficient when logged in (re-use of tokens), right?

srose commented 8 years ago

Yes, this should be fine. Keycloak creates an "Back to application" link. This should work fine (but please verify it)

steffchep commented 8 years ago

I don't see a "Back to Application" link on the profile page.

Does this need to be added? If that's not possible, perhaps the profile should be opened in a new tab/window?

ascheman commented 8 years ago

The realm can be retrieved from /rest/keycloak.json. If desired we could also add the full URL of the KC user settings URL (or at least the generic part)?

steffchep commented 8 years ago

I got the realm figured out :)