If I get a call with destination <http://127.0.0.1...
# ktor
m
If I get a call with destination http://127.0.0.1:8888/login/callback#access_token=xxz - how do I read
access_token
in ktor? I cannot seem to find a function that does it for me 🤔 At least not on
call.request
....
v
Usually your access token is in your header, and you can pull them out of your requests. See https://ktor.io/servers/calls/requests.html
m
That was not the case here (yet). The problem was that I was requesting the wrong response type in Auth0/OAuth2.
Thanks anyway 🙂