Skip to content

V14: Redirect to login screen#16051

Merged
Zeegaan merged 4 commits intov14/devfrom
v14/chore/redirect-to-login-screen
Apr 19, 2024
Merged

V14: Redirect to login screen#16051
Zeegaan merged 4 commits intov14/devfrom
v14/chore/redirect-to-login-screen

Conversation

@Zeegaan
Copy link
Copy Markdown
Member

@Zeegaan Zeegaan commented Apr 15, 2024

Notes

  • Adds a RevokeUmbracoUserTokens extension method, that revokes all the users tokens
  • Also revokes all the users token upon those flows, so the user has to login again 😁

How to test

  • Enable smtp by uncommenting it in appsettings.Development.json
  • Run a local smtp server, like Papercut or Smtp4Dev
  • Run the project
  • Try going through the invite user / reset password flows, and assert you have to login both times after setting your password 😁

Comment thread src/Umbraco.Cms.Api.Management/Extensions/OpenIdDictTokenManagerExtensions.cs Outdated
@Migaroez
Copy link
Copy Markdown
Contributor

Works like a charm 💪

@Zeegaan Zeegaan merged commit cceb418 into v14/dev Apr 19, 2024
@Zeegaan Zeegaan deleted the v14/chore/redirect-to-login-screen branch April 19, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants