I followed the documentation for the frontend web api and generated a token using:
https://localhost:44350/tokenweb/guest
when I test calling "https://localhost:44350/Component/Index?Name=Menu" from postman, it gives this error:
"Customer not has permission"
if I try a token from "https://localhost:44350/tokenweb/antiforgery", the error is:
No SecurityTokenValidator available for token.
Am I missing something here?
I am using the latest revision of GN2
Frontend web API
Monday, November 25, 2024 4:18:44 PM
Antonio wrote:
Hello Antonio,
Well, I need to edit the previous response. The most probable scenario is that your guest's customers group doesn't have permission to use API. Go to Configuration -> Permissions and mark the Allow to use API to enabled on Customer Group - Guests.
I followed the documentation for the frontend web api and generated a token using:
https://localhost:44350/tokenweb/guest
when I test calling "https://localhost:44350/Component/Index?Name=Menu" from postman, it gives this error:
"Customer not has permission"
if I try a token from "https://localhost:44350/tokenweb/antiforgery", the error is:
No SecurityTokenValidator available for token.
Am I missing something here?
I am using the latest revision of GN2
https://localhost:44350/tokenweb/guest
when I test calling "https://localhost:44350/Component/Index?Name=Menu" from postman, it gives this error:
"Customer not has permission"
if I try a token from "https://localhost:44350/tokenweb/antiforgery", the error is:
No SecurityTokenValidator available for token.
Am I missing something here?
I am using the latest revision of GN2
Hello Antonio,
Well, I need to edit the previous response. The most probable scenario is that your guest's customers group doesn't have permission to use API. Go to Configuration -> Permissions and mark the Allow to use API to enabled on Customer Group - Guests.
Best regards,
Patryk
GrandNode Team
Patryk
GrandNode Team
0