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

Develop OAuth logout #732

Merged
merged 30 commits into from
Feb 20, 2023
Merged

Develop OAuth logout #732

merged 30 commits into from
Feb 20, 2023

Conversation

Repumba
Copy link
Contributor

@Repumba Repumba commented Jan 4, 2023

Your checklist for this pull request

  • I've read the contributing guideline.
  • I've tested my changes by building and running the project, and testing changed functionality (if applicable)
  • I've added automated tests for my change (if applicable, optional)
  • I've updated documentation to reflect my change (if applicable)

What is the current behaviour?

MWDB doesn't store logout endpoint
It is impossible to logout from OAuth provider (from mwdb level)

What is the new behaviour?

MWDB stores logout endpoint
It is possible to logout from OAuth provider (from mwdb level)

Test plan

Start docker-compose-oidc-dev.yml
-> try adding new OIDC provider and use discover endpoint
-> login using OAuth and then click logout

Closing issues

closes #731

@psrok1 psrok1 changed the title Develop OAuth Develop OAuth logout Jan 5, 2023
@psrok1 psrok1 marked this pull request as ready for review January 23, 2023 17:16
mwdb/resources/oauth.py Outdated Show resolved Hide resolved
mwdb/web/src/commons/auth/provider.jsx Show resolved Hide resolved
mwdb/resources/auth.py Outdated Show resolved Hide resolved
mwdb/model/user.py Outdated Show resolved Hide resolved
mwdb/model/user.py Outdated Show resolved Hide resolved
mwdb/core/auth.py Outdated Show resolved Hide resolved
mwdb/model/user.py Outdated Show resolved Hide resolved
mwdb/web/src/components/Navigation.jsx Outdated Show resolved Hide resolved
mwdb/web/src/components/Settings/Views/OAuthRegister.jsx Outdated Show resolved Hide resolved
Repumba and others added 5 commits February 16, 2023 10:36
Co-authored-by: Paweł Srokosz <[email protected]>
Co-authored-by: Paweł Srokosz <[email protected]>
Co-authored-by: Paweł Srokosz <[email protected]>
Co-authored-by: Paweł Srokosz <[email protected]>
@psrok1 psrok1 merged commit 4456c1a into master Feb 20, 2023
@psrok1 psrok1 deleted the fix/oauth-endpoints branch February 20, 2023 12:59
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

Successfully merging this pull request may close these issues.

Logout from MWDB doesn't imply logout from OAuth
2 participants