cancel
Showing results for 
Search instead for 
Did you mean: 

Logon via User and Password in URL

lessip
Participant
0 Kudos

Hello everybody,

I am wondering, whether it is possible to logon into C4C via url with "integrated" username and password.

Is it possible to provide them as parameters.  No matter if hashed or as cleartext...

Background is, that I need an access possibility to a demosystem, where I want to avoid the login screen and directly open the feed screen by providing the login-data right via the url.

Thanks in advance for your solutions!

Best Regards,

Patric

Accepted Solutions (1)

Accepted Solutions (1)

lessip
Participant
0 Kudos

Hello everybody,

meanwhile I have found out that it is possible and how to login to C4C, only using an url.

Therefore, you have to fill in the 2 parameters username and password according to the following scheme:
https://my<your tenant id>.crm.ondemand.com/sap/public/ap/ui/repository/SAP_BYD_UI/HTML5/client.html?sap-ui-language=en&username=<your username>&password=<your password>

Best Regards,
Patric

thomas_vanlooy2
Explorer
0 Kudos

Hi Patric, hmm, this doesn't seem to work for me? Is there any activitation/setting somewhere in BC needed for this you think?

(Would indeed be a handy trick for demo reasons for example).

KR, Thomas

lessip
Participant
0 Kudos

Sorry, I did a mistake.

This works only for the RUI (newclient) - not for the UI5.

The corrected link https://my<your tenant id>.crm.ondemand.com/sap/public/ap/ui/repository/SAP_BYD_UI/ HTML5/newclient.html?sap-ui-language=en&username=<your username>&password=<your password>


Best Regards,

Patric

lessip
Participant
0 Kudos

Hi Thomas,


meanwhile I have found out, that it only works for the RUI (newclient), not for the UI5. I have updated the link to https://my<your tenant id>.crm.ondemand.com/sap/public/ap/ui/repository/SAP_BYD_UI/HTML5/newclient.html?sap-ui-language=en&username=<your username>&password=<your password>


Sorry for the mistake...


Best Regards,

Patric

thomas_vanlooy2
Explorer
0 Kudos

Thanks Patric!

Usefull 'trick'!

Answers (2)

Answers (2)

Kinsbrunner
Active Contributor
0 Kudos

Hi Patric,

Based on my understanding and some research I did in the past, it is not possible to loging by entering user and pass on the URL, also, it may not be very secure, specially when working with Productive tenant.

However, in case you want to speed up logging, you may think of implementing SSO (single sign on), there is a guide on the Marketplace that explains with detail how to set it up.

Hope this helps you.

Regards.

Alejandro.

former_member187066
Participant
0 Kudos

Hi Patric,

As far as I know it is not possible to logon into C4C with integrated username and password.

You cannot bypass the login screen. But its possible to login in one tab in a browser with credentials and you can directly open the URL in another tab without entering any credentials.

Thanks

Abdul Rasheed