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

feat: As a user, I want to custom oidc session, so that update openid-connect.lua #12028

Open
mengxzh opened this issue Mar 8, 2025 · 0 comments
Labels
checking check first if this issue occurred question label for questions asked by users

Comments

@mengxzh
Copy link

mengxzh commented Mar 8, 2025

Description

when i want to custom oidc session, i found this code looks like already supported

Image

but when i use below code to update custom session use admin api

curl --request PATCH \ --url http://127.0.0.1:9180/apisix/admin/routes/oauth2-resource-server \ --header 'X-API-KEY: eZTssHqsNuUlJXzkCPqbhhWRxwVsZCRm' \ --header 'content-type: application/json' \ --data '{ "plugins": { "openid-connect": { "bearer_only": false, "client_id": "oauth2-test", "client_secret": "123456", "discovery": "http://192.168.0.29:9303/.well-known/openid-configuration", "introspection_endpoint_auth_method": "client_secret_basic", "post_logout_redirect_uri": "http://127.0.0.1:9080", "realm": "apisix", "redirect_uri": "http://127.0.0.1:9080/call-back", "session": { "secret": "12e16f870756980a46d6c888086fe84afb96458616e175161fe3230e4fc4ae78", "redis": { "host": "192.168.0.29", "port": "6379", "prefix": "apisix-sessions:", "database": 2 } } } } }'

And got a response like this

Image

due to below check

Image

how could i custom oidc session?

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Apache APISIX backlog Mar 8, 2025
@dosubot dosubot bot added the question label for questions asked by users label Mar 8, 2025
@Baoyuantop Baoyuantop added the checking check first if this issue occurred label Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
checking check first if this issue occurred question label for questions asked by users
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants