Hello, I want to set a token for my APIRoutes, how should I set it
76 views
Skip to first unread message
梦想与你
unread,
Nov 30, 2020, 12:00:45 PM11/30/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fusio
Hello, I want to set a token for my APIRoutes, how should I set it
梦想与你
unread,
Nov 30, 2020, 12:27:00 PM11/30/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fusio
When I access it again after I get Token successfully, it still tells me there is no Token
Message has been deleted
梦想与你
unread,
Nov 30, 2020, 12:36:07 PM11/30/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fusio
curl -X GET -H 'authorization:eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC8xNzIuMTYuOTIuMTg1Iiwic3ViIjoiNTM3M2Q2Y2EtMzYzNC01OTMxLThkZGItYjAxMjgzMDAxNmYzIiwiaWF0IjoxNj2NzU2OTM4LCJleHAiOjE2MDY3NjA1MzgsIm5hbWUiOiJ0ZXN0MDEifQ.jqzt6A_nRO7zCL8OBMZq5NtkPH94XpCdAcWlJIxePUU' 'http://localhost/index.php/testtt'
{
"success": false,
"title": "Internal Server Error",
"message": "Missing authorization header"
}
Christoph Kappestein
unread,
Dec 3, 2020, 2:22:52 PM12/3/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fusio
Hi,
this looks like the Authorization header is not passed to Fusio, maybe your Apache does not forward the Authorization header to Fusio? Please take a look at:
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fusio
Hello Christoph,
It seems this readthedocs link is dead. I have not found a way to add headers to an Action (Designer is not saving the data) and any information regarding headers (for tokens specially).
Can you point me to the right place ?
Thanks for your time.
Chris
Christoph Kappestein
unread,
Feb 11, 2022, 1:17:21 PM2/11/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fusio
Hi Chris,
so we have moved our documentation to a new domain s. https://docs.fusio-project.org/ this is now the place where we bundle all documentation resources regarding Fusio.
If there is a topic which is missing please let me know then we can also add this to the documentation.