Forum Discussion
VikasB
7 years agoBoss
You can get it using the API
https://lithosphere.lithium.com/restapi/vc/authentication/sessions/login
Here is the related doc
https://lithosphere.lithium.com/t5/Developer-Documentation/bd-p/dev-doc-portal?section=sessionauth
- kavithams7 years agoGuide
Hi VikasB
Thanks for the reply. Yes I tried using that too.
So when I make a rest call within a component and pass the logged in user's login as the query param, it throws error saying "cannot switch to yourself"
If I don't pass the user.login query param, it says authentication failed
How can I go about this?