Hello, I built a UserStorageProvider that is backed by an API. There are two API calls. The first is for auth in the IsValid() implementation. The second call is to get the user profile in getUserByUsername(). This all works great. I need to take some of the information returned in isValid() and issue a cookie back to the authenticating browser. I have been pouring over docs but can’t find a way to do this. Hoping someone can shed some light on the general approach. TIA
session.getContext().getHttpResponse().setCookieIfAbsent(newCookie);
Thank You!! I feel so silly missing the obvious. I tried this but was looking at the wrong response in developer tools!