Hi, is there any way to add user_identifier to bearer token in claim sub attribute?
I would like to get that identifier in my controller easy by just calling $this->getUser() wihick now is null because that user_identifier is not present in token clam and hardcoded to be null on creation and authorization.
@Wulfu the only way I've been able to do this is by adding a decorator to any created AccessTokens. This required I create a custom AccessTokenRepository but it was pretty easy to do.
Hi, is there any way to add user_identifier to bearer token in claim sub attribute?
I would like to get that identifier in my controller easy by just calling $this->getUser() wihick now is null because that user_identifier is not present in token clam and hardcoded to be null on creation and authorization.
Any smart way of overcoming this?