July 29, 2021 at 5:17 pm
Hi all
I just wondered if there was a way to extract only the bearer token of the below string into a variable.
I have a variable @activity('GetToken').output.accessToken
When I run the task I get the following value into my variable.
{
"name": "token",
"value": "eyJhbGciOiJSUzI1NiJ9.eyJqdGkiOiI0MDAiLCJpYXQiOjE2Mjc1NTM1MTcsImlzcyI6ImF"
}
What I want to do now though is to have only the long string. Is there a way of only getting the long string from this variable?
Or... is there an easier way of getting a bearer token in ADF from an API GET
Many thanks for any help
July 30, 2021 at 6:10 pm
Thanks for posting your issue and hopefully someone will answer soon.
This is an automated bump to increase visibility of your question.
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy