How Do Consumers Use The Personal Access Token?

32 views
Skip to first unread message

Chuck Beyor

unread,
Jan 1, 2025, 12:11:43 PMJan 1
to Fusio
As a use I created a personal access token. My understanding is I should be able yo provide this with my API call to authenticate. I have tried many different ways. Such as using it as a Bearer token with no luck. If I try as a bearer token in Postman I get a 500 error. I know that the endpoint works other than authentication because if I switch it to public it returns data fine. Any help is appreciated. Thank you!

Christoph Kappestein

unread,
Jan 1, 2025, 12:50:04 PMJan 1
to Fusio
Hi Chuck,

in general your understanding is correct, if you create a custom token you need to provide the token as "Authorization: Bearer [my_token]" if you invoke the endpoint, it is important that the scope of the endpoint is also included in the token. Can you show me the 500 error response?

best regards
Christoph

Chuck Beyor

unread,
Jan 2, 2025, 5:32:34 PMJan 2
to Fusio

I realized that when I generate the token it has all scopes assigned. But as soon as I refresh the page it only shows the authorization scope. It almost seems like its not saving properly?

Immediately after generating token:
Screenshot 2025-01-01 172756.png

After refreshing page:
Screenshot 2025-01-01 172845.png
Reply all
Reply to author
Forward
0 new messages