Skip to content

fix: handle login when opening org logged out [INS-4330]#7865

Merged
filfreire merged 3 commits intoKong:developfrom
filfreire:feature/ins-4330-gracefullogin-on-org-open
Aug 23, 2024
Merged

fix: handle login when opening org logged out [INS-4330]#7865
filfreire merged 3 commits intoKong:developfrom
filfreire:feature/ins-4330-gracefullogin-on-org-open

Conversation

@filfreire
Copy link
Contributor

@filfreire filfreire commented Aug 23, 2024

Closes INS-4330

When a user clicks "Open" on the website to open an organization in the electron app, but they are logged out on the electron app, we will now try to

  1. log them in using the normal app authorize flow,
  2. and then navigate them to the organization they intended to open

Before, they would click on Open, but nothing would happen on the app if they were logged out.

Notes

To test locally, spin up the app, and then make sure you point to to node_modules/electron/dist/Electron.app when trying to open the deep links:

image

Otherwise the deep links will get caught by any production installation you might have of Insomnia

@filfreire filfreire requested a review from a team August 23, 2024 09:14
@filfreire filfreire force-pushed the feature/ins-4330-gracefullogin-on-org-open branch from e249cd2 to 83890b7 Compare August 23, 2024 09:19
@filfreire filfreire self-assigned this Aug 23, 2024
@filfreire filfreire force-pushed the feature/ins-4330-gracefullogin-on-org-open branch from e7283e6 to 31d6ea7 Compare August 23, 2024 11:27
@filfreire filfreire enabled auto-merge (squash) August 23, 2024 11:28
@filfreire filfreire merged commit e9a8b14 into Kong:develop Aug 23, 2024
@filfreire filfreire deleted the feature/ins-4330-gracefullogin-on-org-open branch August 23, 2024 11:38
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.

2 participants