Sphereon-Opensource / SIOP-OID4VP

Self Issued OpenID Provider v2 (SIOP) with optional OpenID for Verifiable Presentations (OpenID4VP)
77 stars 25 forks source link

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

Closed alejandro-nieto-git closed 1 year ago

alejandro-nieto-git commented 2 years ago

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

nklomp commented 1 year ago

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.