Boburmirzo / apisix-authgear-oidc-full-stack-auth

A full-stack authentication app with APISIX, Authgear and OIDC
https://docs.api7.ai/apisix/documentation
3 stars 2 forks source link

help request: An error occoured! Login could not complete. Error data: AxiosError: Request failed with status code 404 #1

Open lfriboulet opened 7 months ago

lfriboulet commented 7 months ago

Hello,

I followed the instrustions from the readme and from this link https://api7.ai/blog/build-full-stack-authetication-app for the configuration.

I can see the foolowing error bu using this command 'docker compose logs apisix'

_apisix-authgear-oidc-full-stack-auth-apisix-1 | 2024/03/16 20:41:56 [error] 51#51: *3 [lua] config_yaml.lua:211: failed to check item data of [routes] err:additional properties forbidden, found method ,val: {"status":1,"uri":"/protected","upstream_id":1,"name":"protectedroute","priority":0,"method":"GET","plugins":{"openid-connect": .....

When I directly test the route http://localhost:9080/protected, I received a http status 404.

Would you please have an idea of this issue ?

Laurent

vladtva commented 3 months ago

In docker compose file image: apache/apisix:3.2.2-debian

image: apache/apisix:latest