--
You received this message because you are subscribed to the Google Groups "uPortal Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uportal-dev...@apereo.org.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/b0ec37d4-e0ba-4408-73d8-7aa197fa8198%40recia.fr.
Hi Benito,
I'm not using the group API into services, into portlets I'm
using only the user attribute that provide the list of groups
where the user is member. It's really efficient to do like that,
but when moving to APIs + webcomponent I've to find an other
efficient way.
For the token size problem I will check if I can reproduce it, I
had the problem in version 5.2 (long time ago so).
Hi,
So for the token size I reproduce it ! It's due to a token size
exceeding the 8Kb size (from not too much), and that's the tomcat
server that return the error. Without a such attribute the
userInfo response is around 1.6Kb, so we can't provide into claims
a user attribute having a large size value.
After I'm not sure on the best way to do, this size can be
configured to the server but it's doesn't seem really recommended
to increase the maxHttpHeaderSize property of the connector and I
think that's not totally false, because the JWT encrypt value and
the encryted value is really larger, so the encryption increase
the length of the token. Maybe the best way would be to request an
API to get all user attributes values of one user (passing the
attribute name requested ?). It would be like replacing the
portlet request on User-info by an API, what do you think ?
BTW there is the /v5-0/people/me API, but it
doesn't filter authorized or requested attributes.
Thanks,
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/df25a0ae-9107-760a-fa79-c444ad86e254%40recia.fr.
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/cf84db17-49f0-8ef2-08a6-54b9563de3de%40recia.fr.
Good for me !
To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/uportal-dev/CAJ_1GkTZZkCpb731nofJooLMMrPuHpGYPX0dtM%2Bp8DcfaTpAiA%40mail.gmail.com.