By: Ryan Nicholls named 06 Dec 2020 at 6:01 p.m. CST

4 Responses
Ryan Nicholls gravatar
Hi, I was following the tutorial at https://gluu.org/docs/gg/tutorials/oidc-uma-tutorial/ for setting up UMA for authorization. Everything is working fine, however after going through the claims gathering flow, if I logout and then login... I have to renter the info through claims gathering again. Is this a misconfiguration on my end somewhere or does the tutorial claims gathering script not save the information?

By Michael Schwartz Account Admin 06 Dec 2020 at 8:53 p.m. CST

Michael Schwartz gravatar
@Arnab.Dutta, can you help with this. Perhaps we can provide a sample claims gathering script that persists the claims gathering selection? We can check this in as another example.

By Yuriy Zabrovarnyy staff 07 Dec 2020 at 2:50 a.m. CST

Yuriy Zabrovarnyy gravatar
Claims are saved into `PCT`. If `RPT` was authorized successfully one time then `PCT` already contains gathered claims and thus no need to gather claims again. Otherwise if intention is to gather it again then `PCT` can be skipped from `RPT` request.

By Arnab Dutta staff 07 Dec 2020 at 6:39 a.m. CST

Arnab Dutta gravatar
Hi, I am working on script to read claims from PCT and skip the re-entering process if found. Regards, Arnab

By Arnab Dutta staff 08 Dec 2020 at 10:13 a.m. CST

Arnab Dutta gravatar
Hi Ryan, We will add a feature in the upcoming Gluu-Gateway `4.2.2` release so that it can read claims from `PCT` issued before (until it is expired). This will help the user to skip re-entering claims information through claims gathering. We have raised the following GitHub ticket to address this change: https://github.com/GluuFederation/gluu-gateway/issues/452 Regards, Arnab