boundless-insurance-60355
12/09/2023, 7:13 PMcold-scientist-93808
12/08/2023, 7:46 AMpurple-boots-5453
12/07/2023, 7:06 AMcareful-wolf-22736
12/06/2023, 5:58 AMcolossal-area-55160
12/05/2023, 12:33 PMcolossal-area-55160
12/05/2023, 12:32 PMory_at_q62i46zcTh6q4WjWd_HXWS9zc54YikLqN1N17UXVGto.G03obdimctKhZIf-97ml6mxhNhLjhAX5sXwpyqpyYw0
rapid-summer-90502
12/03/2023, 3:55 PMancient-wire-79376
12/01/2023, 5:48 PMhandsome-fountain-35129
11/29/2023, 7:52 PMtall-easter-67692
11/29/2023, 9:39 AMwitty-vegetable-52277
11/28/2023, 12:59 AMperformNativeLogout
function. (Web version works ok)
I'm not sure from where to get the the session token parameter. I have tried with the "access token" and "id token" strings but those are not working.
import { Configuration, FrontendApi } from "<@U010S8T03NG>/client"
const frontend = new FrontendApi(
new Configuration({
basePath: `https://${process.env.ORY_PROJECT_SLUG}.<http://projects.oryapis.com|projects.oryapis.com>`,
}),
)
export async function logout(token: string) {
return await frontend.performNativeLogout({
performNativeLogoutBody: {
session_token: token,
},
})
}
On login, I use {project}/oauth2/token and the response is the one from the image
Can I get some help on this? Thanks!icy-ocean-33826
11/26/2023, 5:55 AMorange-guitar-65918
11/24/2023, 11:54 AMorange-guitar-65918
11/24/2023, 10:26 AMgifted-waitress-14272
11/23/2023, 4:47 PMclean-dress-65760
11/23/2023, 10:05 AMsquare-airplane-36140
11/21/2023, 2:58 PMsome-alligator-65274
11/15/2023, 6:52 PMsome-alligator-65274
11/15/2023, 6:51 PMsome-bear-63847
11/15/2023, 2:07 PMboundless-dress-11510
11/14/2023, 7:52 PMjolly-breakfast-43519
11/13/2023, 6:12 AMhundreds-match-36539
11/13/2023, 12:30 AMastonishing-plumber-76823
11/12/2023, 2:04 AMmagnificent-energy-493
stocky-flower-23436
11/09/2023, 5:47 PMhallowed-postman-21092
11/08/2023, 11:30 AMmagnificent-energy-493
broad-eve-11212
11/08/2023, 9:22 AMripe-manchester-5503
11/08/2023, 12:10 AM