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

Dose this plugin have logout function ? #2

Open
HaraShun opened this issue Dec 11, 2019 · 3 comments
Open

Dose this plugin have logout function ? #2

HaraShun opened this issue Dec 11, 2019 · 3 comments

Comments

@HaraShun
Copy link

HaraShun commented Dec 11, 2019

Hello, Thank you for creating a great plugin.

BTW, Dose this plugin have logout function ? 🤔

How can I achieve logout operation ?

『Logout · Issue nokia#30 · nokia/kong-oidc』

nokia#30 (comment)

@philbarr
Copy link
Owner

You should just be able to call the /logout endpoint to logout, although I didn't write that, that's just coming straight from the nokia original plugin. You can configure that with config.logout_path as per the nokia docs.

@HaraShun
Copy link
Author

HaraShun commented Dec 11, 2019

Great thanks for your reply.

yeah yeah, of couse I know the nokia original plugin, and the parameter "config.logout_path".

but ... I am not sure what value I should set and how I can confirm logout function exactlly.

Specifically:

  1. I made '/shop' api, and set absolute path 'harashun.com/logout' on "config.logout_path"

  2. And I access 'harashun.com/logout', but I faced "{"message":"Not found"}" error message.

What am I missing ?
What am I doing wrong?

This is stupid quetion, but if you reply, it will be great help for me.

thx.

@philbarr
Copy link
Owner

don't set the config.logout_path because it defaults to /logout and call /shop/logout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants