Open Apostasi0225cuhksz opened 4 months ago
Hello @Apostasi0225cuhksz I came across your issue and noticed we encountered the same problem. We resolved it by activating the token_user_attributes plugin. It looks like the version in this repo is older, but the plugin system is still available: Omejdn Server Plugins.
I suggest trying to load the claim_mapper plugin to address the issue.
The Problem
My Setup
Operating Ststem: wsl2-debian12
Ruby Version: ruby 3.1.2p20
__scope_mapping.yml:__
the client in
clients.yml
:What I have done up front
Register the connector using the provided script:
Start the service
Try to request the DAT
What I expected to happen
The DAT should include the attributes defined in the
scope_mapping.yml
file (securityProfile
,referringConnector
, etc.). It should look something like:What actually happened
After reqesting the DAT I get none of the attributes
The quest of trying to solve it
What were the results of searching for the error on the internet?
I learned what the expected output should look like from [this issue](https://github.com/International-Data-Spaces-Association/omejdn-daps/issues/15#issuecomment-998708255)
What is your best guess as to what might have happened?
The issue mentioned above was from 2 years ago, and maybe it is not the correct expected output anymore. But in this case, I could not find any document about how to get the attributes from DAPS.