AEM SAML Authentication handler + CURL

Avatar

Avatar
Boost 1
Level 1
vijay_mc3593805
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
vijay_mc3593805
Level 1

Like

1 like

Total Posts

2 posts

Correct reply

0 solutions
Top badges earned
Boost 1
View profile
vijay_mc3593805
Level 1

07-07-2020

Hi 

 

I have setup SAML auth handler on my AEM Authors and Publishers. Users are able to login and perform the required operations. My issue is - 

We use Jenkins/jules for build and release, jenkins uses cURL to upload and install code on the AEM instances. With SAML handler forwarding requests to IDP for authentication I am unable to get this working. In the past we used AEM system users but now we have a corp requirement to not use system accounds and use FID's with breakglass for password. Please share any ideas on how i can enable cURL to authenticate over SAML or if there are any workarounds

thanks for your help

regards- Vijay

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
berliant
Employee

07-07-2020

Despite the SAML configuration you still can log as a local user to CRXDe. For that you can possibly use someting like:

curl -sv -X POST -u "admin:*******" -b <COOKIE FILE> --data "j_username=admin" --data "j_password=********" --data "j_workspace=crx.default" --data "j_validate=true" --data "_charset_=utf-8" http://<host>:<port>/libs/granite/core/content/login.html/j_security_check 

Answers (0)