Expand my Community achievements bar.

SOLVED

External system to aem publisher via saml

Avatar

Level 3

Hi

 

My publisher site is  accessed by  users via SAML .

 

A external system(written in angular/react) wants to connect to publisher for reading page and other  details. 

 

What would be possible best solution to connect for external system to publisher?

 

Thanks

Dillibabu

 

 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Hi,

 

To allow an external system to connect to your publisher site accessed via SAML, you could use OAuth2 authentication, a proxy service, or a custom SAML authentication flow. The best solution will depend on your specific requirements and constraints.

 

  1. Use OAuth2: You could implement an OAuth2 provider on your publisher site and have the external system authenticate via OAuth2. The external system would need to register itself as an OAuth2 client and obtain an access token that would be used to access the publisher site's APIs. This solution provides a secure way to authenticate the external system without exposing SAML credentials.

  2. Use a proxy service: Another solution is to use a proxy service that sits between the external system and the publisher site. The proxy service would handle the SAML authentication and then forward the requests to the publisher site. This solution provides a layer of abstraction between the external system and the publisher site, which can be useful if the publisher site's APIs change frequently.

  3. Use a custom SAML authentication flow: You could also create a custom SAML authentication flow that allows the external system to authenticate with the publisher site directly. This solution requires more development effort but can provide a seamless authentication experience for the external system.

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

Hi,

 

To allow an external system to connect to your publisher site accessed via SAML, you could use OAuth2 authentication, a proxy service, or a custom SAML authentication flow. The best solution will depend on your specific requirements and constraints.

 

  1. Use OAuth2: You could implement an OAuth2 provider on your publisher site and have the external system authenticate via OAuth2. The external system would need to register itself as an OAuth2 client and obtain an access token that would be used to access the publisher site's APIs. This solution provides a secure way to authenticate the external system without exposing SAML credentials.

  2. Use a proxy service: Another solution is to use a proxy service that sits between the external system and the publisher site. The proxy service would handle the SAML authentication and then forward the requests to the publisher site. This solution provides a layer of abstraction between the external system and the publisher site, which can be useful if the publisher site's APIs change frequently.

  3. Use a custom SAML authentication flow: You could also create a custom SAML authentication flow that allows the external system to authenticate with the publisher site directly. This solution requires more development effort but can provide a seamless authentication experience for the external system.