Skip to content

Add JdbcRelyingPartyRegistrationRepository #16012

Closed
@sasirekha98

Description

@sasirekha98

I have an application where the SP metadata is generated as XML and put in the database. We pull the XML and generate the authentication request. When I want to move to Spring Security, I don't find the same option where I can get the relying party details from the data source or directly provide the XML file location.

Currently, as per my understanding, we have the option to load the XML file of the IDP through metadata locations through spring security like this

RelyingPartyRegistrations
.fromMetadataLocation(oktaMetadataUrl)
.registrationId("okta")).build();

Similar to that, it would be nice to have an option where we can load the relying party details when we have them in the database or some location already. We just need to load that file instead of adding the details one by one to the RelyingpartyRegistration.

it will be easier if I have an option where I have to mention the metadata location of the sp as well like this
RelyingPartyRegistrations
.fromMetadataLocationofSP(location)
.fromMetadataLocationofIDP(oktaMetadataUrl)
.registrationId("okta")).build();

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions