Better HN
topnewbestaskshowjobs
Log inSign up

ackerleytng

2 karma · joined Oct 31, 2019 (7y ago) · 2 submissions

Submissions

comment 6y ago · link · parent

Big fan of keycloak (and gatekeeper!) and looking into this issue now: I have an app (foo) which the user calls through a web frontend. Foo then has to call bar, massage bar's response, then return that to the user. How should I manage tokens that way? So far I have 2 ideas

(1) Have foo request expanded scope for tokens, including scope for bar. Use that same access token to access bar. For this, I'm concerned that if foo needs to use the access token for a longer time and it expires, then should foo do the refreshing independently of gatekeeper? Is there a way to update gatekeeper with a new token?

(2) Have some way of exchanging the user's token for foo, with a user's token for bar. Can keycloak do this? Can I still use gatekeeper for this?

2.

Show HN: Logaze – a better interface for filtering laptops on Lenovo Outlet(ackerleytng.github.io ↗)

4 points · by ackerleytng · 7y ago · discuss