Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

help request: SPA frontend outside of APISIX needs to call api served by APISIX with OIDC authentication #12025

Open
Chiney973 opened this issue Mar 7, 2025 · 0 comments
Labels
question label for questions asked by users

Comments

@Chiney973
Copy link

Chiney973 commented Mar 7, 2025

Description

All my web application are served under the same domain, except for the IDP

Frontend will be served under http://localhost/app/
Apisix will be served under http://localhost/app/api/
I am using keycloak as an IDP under http://keycloak/

I am having issues authenticating to the apisix gateway with my spa frontend as it is not served by apisix

What I have tried:

Could someone plz enlight me on how are we supposed to authenticate with oidc to the apisix gateway with a spa not served by the gateway ?

Environment

  • APISIX version (3.11.0):
  • Operating system (run uname -a):
  • OpenResty / Nginx version (openresty/1.25.3.2 ):
  • etcd version, if relevant (standalone mode):
  • APISIX Dashboard version, if relevant:
  • Plugin runner version, for issues related to plugin runners:
  • LuaRocks version, for installation issues (run luarocks --version):
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Apache APISIX backlog Mar 7, 2025
@dosubot dosubot bot added the question label for questions asked by users label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question label for questions asked by users
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant