Questions tagged [session-id]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
3answers
1k views

Unable to aquire valid session id using an apex class

I wrote my own apex class with the following code: @AuraEnabled public static String getSessionId(){ return UserInfo.getSessionId(); } This code works when I import it into my ...