Skip to content

Conversation

SkySails
Copy link
Collaborator

📝 Description

This PR changes the signout behavior. Instead of trying to end the session with a call to /connect/endsession, we now call /connect/revocation to invalidate the refresh token.

⛳️ Current behavior

On signout, an attempt to invalidate the session is made by calling /connect/endsession.

🚀 New behavior

On signout, the last received refresh token is invalidated with a call to /connect/revocation

💣 Is this a breaking change (Yes/No):

No

📝 Additional Information

This flow works better for device-flow implementations, but when authorization code flow is implemented we'll have to reintroduce the endsession endpoint.

@SkySails SkySails requested a review from a team as a code owner October 19, 2022 16:24
@changeset-bot
Copy link

changeset-bot bot commented Oct 19, 2022

🦋 Changeset detected

Latest commit: c3a8058

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@navigraph/auth Patch
@navigraph/charts Patch
navigraph Patch
getting-started Patch
msfs-panel Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@SkySails SkySails merged commit bb16fd2 into main Oct 19, 2022
@SkySails SkySails deleted the fix/update-logout-actions branch October 19, 2022 16:26
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.

1 participant