Sphereon-Opensource/SIOP-OID4VP

One RP instance for each user or only one for all users?

alejandro-nieto-git opened this issue · 1 comments

Is the RP class designed to be able to have only one instance for all the users (SIOPs) trying to authenticate to the relying party or I have to make one instance for each user that tries to auth/authz? Thanks

Hi @alejandro-nieto-git I see this one was never answered.

Basically that is up to you to choose. Both scenarios are supported for the RP. If you need to use different DIDs or have some other options for specific use cases then you should use seperate RPs. But a single RP can be shared between users.