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

fix: OAuth2 logout flow #105

Merged
merged 1 commit into from
Feb 7, 2024
Merged

fix: OAuth2 logout flow #105

merged 1 commit into from
Feb 7, 2024

Conversation

taorepoara
Copy link
Member

@taorepoara taorepoara commented Feb 7, 2024

About this PR

Fixes the logout flow by opening a tab with the logout URL (/oauth2/sessions/logout) instead of Ajax call (failing because of CORS)

Checklist

  • I didn't over-scope my PR
  • My PR title matches the commit convention
  • I did not include breaking changes
  • I made my own code-review before requesting one

I included unit tests that cover my changes

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

I added/updated the documentation about my changes

  • 📜 README.md
  • 📕 docs/*.md
  • 📓 docs.lenra.io
  • 🙅 no documentation needed

@taorepoara taorepoara self-assigned this Feb 7, 2024
@taorepoara taorepoara added the bug Something isn't working label Feb 7, 2024
@jonas-martinez jonas-martinez marked this pull request as ready for review February 7, 2024 15:00
@taorepoara taorepoara mentioned this pull request Feb 7, 2024
11 tasks
@taorepoara
Copy link
Member Author

Linked to lenra-io/server#544

@jonas-martinez
Copy link
Collaborator

This works well ! We will need to handle the logout page in another PR, I see that taorepoara is doing it.

@jonas-martinez jonas-martinez merged commit 560a9d9 into main Feb 7, 2024
15 checks passed
@jonas-martinez jonas-martinez deleted the fix-oauth-logout branch February 7, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants