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

feat(): enable implicit redirect flow on web #267

Conversation

eduardoRoth
Copy link
Contributor

Enables the implicit redirect authentication flow for web, when using windowTarget: '_self'

Closes

@eduardoRoth
Copy link
Contributor Author

@moberwasserlechner , happy to work on any change you see this PR needs 😄

@eduardoRoth
Copy link
Contributor Author

@tafelnl , let me know if this PR requires some changes, I'll be happy to work on it.

@eduardoRoth
Copy link
Contributor Author

Morning @moberwasserlechner , @tafelnl , could I get some input with this? Thank you!

@moberwasserlechner
Copy link
Collaborator

@eduardoRoth I try to have a look later today.

Copy link
Collaborator

@moberwasserlechner moberwasserlechner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add docs in readme for this change

src/definitions.ts Outdated Show resolved Hide resolved
src/web-utils.ts Outdated Show resolved Hide resolved
@eduardoRoth
Copy link
Contributor Author

@moberwasserlechner , updated my branch with your comments, I went ahead with the name redirectFlowCodeListener to make it clearer on what it does.

@eduardoRoth
Copy link
Contributor Author

@moberwasserlechner let me know if the changes are good to go or you still need more changes :D

@eduardoRoth
Copy link
Contributor Author

@moberwasserlechner , sorry to keep bothering you, I'd appreciate a look in this PR so I can update my client's project.

src/definitions.ts Outdated Show resolved Hide resolved
@moberwasserlechner
Copy link
Collaborator

Sry for the merge conflict but as you change one more thing I though it will be easier that way.

I prepare the release asap after this is merged. Although the push to npm must (most probably) do @tafelnl because I do not have permissions.

@tafelnl
Copy link
Member

tafelnl commented Jul 31, 2024

No worries. I'll publish when ready. Maybe the Cap team could grant you publish permissions as well

@eduardoRoth
Copy link
Contributor Author

@moberwasserlechner @tafelnl branch updated and merge conflict resolved 😄

@moberwasserlechner moberwasserlechner merged commit a839ca1 into capacitor-community:main Jul 31, 2024
@moberwasserlechner
Copy link
Collaborator

@tafelnl I think we're ready.

I did a quick test on web, Android and IOS and at least for Google Auth the new changes are not breaking things.

I added a draft release but let you publish it as soon as the new version is on npm.

Thx

@tafelnl
Copy link
Member

tafelnl commented Aug 1, 2024

Looks good, thanks guys. I just published the release to npm

@eduardoRoth
Copy link
Contributor Author

Thank you @moberwasserlechner and @tafelnl !!! 🥳🥳🥳

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.

3 participants