[Apiman-user] Please reply : API Curl call login authentication for multiple applications in a single login

AntonyJoyson, MariyaGeorge M.AntonyJoyson at spi-global.com
Fri Mar 1 07:50:32 EST 2019


Hi team,

I am new to keycloak sso login while authentication the application with keycloak server application directly it will authenticating both the applications. While authenticating with curl api each time its authenticating as a new login I have to provide username and password for login from both the application. Am I missing any parameters to keep the session state in a synced way Please reply.

url
/protocol/openid-connect/token

Params
'grant_type' => 'password',
'response_type' => 'code',
'username' => $username,
'password' => $password,

Headers
'Content-type: application/x-www-form-urlencoded'
'Authorization: Basic ' . base64_encode($this->client_id . ':' . $this->secret)

Authentication is working for single application I need to access another application also with this single login

Thanks and Regards
Joyson Anto ~ Aj

Antony Joyson M
Software Engineer
TSG
SPi Global
M +91 9551347970
M.AntonyJoyson at spi-global.com
www.spi-global.com<http://www.spi-global.com/>

SPi Global - Philippines Best Employer 2018, 13th Employer Branding Awards, Employer Branding Institute - India and 2018's Top 25 AI Companies in APAC by CIO Advisor

CONFIDENTIALITY NOTICE: This email, including its attachments, is intended for the use of the person/s it is addressed to. It may contain personal data, or information that is protected or privileged, which are protected from unauthorized use or disclosure by law.


If you are not the intended recipient, any dissemination, retention or use of any information contained in this email is prohibited. If you have received this email in error, please promptly notify the sender by reply email and delete the original email and any backup copies without reading them.



If you have questions or clarifications regarding any matter relating to data protection, you may write to the SPi Global Data Protection Office at dpo at spi-global.com. You may also file a complaint or report a security incident involving personal data by writing to: dpo at spi-global.com.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20190301/104fdc40/attachment-0001.html 


More information about the Apiman-user mailing list