Context: We have an OIDC IdP that we don't have control over but we need to support SAML requests from Service Provider (SP) for SSO.
Idea: Build a proxy (an app) that sits between SP and OIDC Identity Provider. Requests from SP are sent to the proxy app (that acts as SAML IdP for SP) and the proxy app converts the requests to OIDC requests and forwards them to OIDC provider. The results from OIDC provider are returned to the proxy app which translates them into SAML responses and forwards them to SP.
Questions:
I've very limited knowledge on SAML IdP (implementation wise). The approach seems very hackish to me :) Feels there are a lot of things I'm missing to consider. So, wanted some help and guidance as for where I'm doing things wrong. Few things I wanted to ask are:
- Does this approach even make any sense?
- What would be the security implications of this approach?
- Are there other simpler/better solution to it or a similar use case?
Any sort of help will be highly appreciated.
Thanks!