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

oAuth2 session on server, no logout endpoint available #784

Closed
RALGIE opened this issue Jul 31, 2020 · 3 comments
Closed

oAuth2 session on server, no logout endpoint available #784

RALGIE opened this issue Jul 31, 2020 · 3 comments

Comments

@RALGIE
Copy link

RALGIE commented Jul 31, 2020

Hello,

I'm using the oAuth2 plugin with "@nuxtjs/auth": "^4.9.1"; When I logout on the client I'm redirected to the login page. My cookie is deleted and I'm on the client site no longer logged in. But on the server site I'm still logged in. Because when I try to login I'm redirected to the main page. Without entering my credentials. When I display the documentation (https://auth.nuxtjs.org/schemes/oauth2.html#options) there is no logout endpoint setting.

Is there an easy way to fix this?

Best regards,
Ralph

@titoff002
Copy link

hello
i'have a problem with '@nuxtjs/auth-next' with keaycloak, the function this.$auth.loginWith('keycloak') => this function works correctly, but the other functions do not: they return nothing or null. can you help me ? Have you a complet sample code ?

@RALGIE
Copy link
Author

RALGIE commented Aug 19, 2020

hello @titoff002,

I 'm using @nuxtjs/auth and not the @nuxtjs/auth-next version. I can't help you.

@JoaoPedroAS51
Copy link
Collaborator

Hi @RALGIE! Logout endpoint option for oauth2 scheme was added in v5. It's now recommended to use v5 instead of v4. See status and #893

Docs here: oauth2 scheme

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

3 participants