sap-linuxlab / community.sap_launchpad

Automation for SAP - Collection of Ansible Modules for various tasks using SAP Launchpad APIs
Apache License 2.0
8 stars 7 forks source link

demo paybook fails sso login #9

Closed wuftymerguftyguff closed 1 year ago

wuftymerguftyguff commented 1 year ago

failed: [localhost] (item=SAPCAR_1324-80000936.EXE) => {"ansible_loop_var": "item", "changed": false, "item": "SAPCAR_1324-80000936.EXE", "msg": "SAP SSO authentication failed - 401 Client Error: for url: https://core-api.account.sap.com/uid-core/authenticate?reqId=https%3A%2F%2Fhana.ondemand.com%2Fsupportportal"}

rhmk commented 1 year ago

Thabks, for telling. I will double check

Jeff Arthur @.***> schrieb am Do., 2. Feb. 2023, 23:14:

failed: [localhost] (item=SAPCAR_1324-80000936.EXE) => {"ansible_loop_var": "item", "changed": false, "item": "SAPCAR_1324-80000936.EXE", "msg": "SAP SSO authentication failed - 401 Client Error: for url: https://core-api.account.sap.com/uid-core/authenticate?reqId=https%3A%2F%2Fhana.ondemand.com%2Fsupportportal "}

— Reply to this email directly, view it on GitHub https://github.com/sap-linuxlab/community.sap_launchpad/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD22KEEMAVRMS6HEDMCAEOLWVQ5WBANCNFSM6AAAAAAUPTV4O4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

rhmk commented 1 year ago

Have you supplies SAP S User credentials with download permission?

Jeff Arthur @.***> schrieb am Do., 2. Feb. 2023, 23:14:

failed: [localhost] (item=SAPCAR_1324-80000936.EXE) => {"ansible_loop_var": "item", "changed": false, "item": "SAPCAR_1324-80000936.EXE", "msg": "SAP SSO authentication failed - 401 Client Error: for url: https://core-api.account.sap.com/uid-core/authenticate?reqId=https%3A%2F%2Fhana.ondemand.com%2Fsupportportal "}

— Reply to this email directly, view it on GitHub https://github.com/sap-linuxlab/community.sap_launchpad/issues/9, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD22KEEMAVRMS6HEDMCAEOLWVQ5WBANCNFSM6AAAAAAUPTV4O4 . You are receiving this because you are subscribed to this thread.Message ID: @.***>

wuftymerguftyguff commented 1 year ago

Hi,

Yes I had, but I think I understand the issue now. I was using the password for the S user not the Universal ID password.

I found this in the docs eventually.

Please close this one sorry to waste your time.

sean-freeman commented 1 year ago

@wuftymerguftyguff No trouble :) Very common mistake, this part of the user/password experience is not clear/distinct from SAP. You can see further examples of this Ansible Collection in heavy usage by the Terraform Templates for SAP for now, there will be parity Ansible Playbooks for SAP coming in the near future.