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

Add getToken function support to Luigi Container #3785

Merged
merged 35 commits into from
Jul 4, 2024

Conversation

ndricimrr
Copy link
Contributor

@ndricimrr ndricimrr commented Jun 13, 2024

Description

Changes proposed in this pull request:

  • add capability to use the getToken function inside the iframe based container

  • Sends a message to the container iframe based microfrontend to set the auth data. This allows LuigiClient to receive the token through the getToken function inside the microfrontend.

  • Added Cypress tests

  • Added unit tests

  • Potential future merge conflict with Light DOM Container PR since it affects LuigiContainer.svelte files due to the new Prettier for Svelte options recently added - merge that one first and resolve Merge Conflicts here afterward, to make reviewing this PR easier.

Related issue(s)

Resolves #3784

@ndricimrr ndricimrr marked this pull request as ready for review June 20, 2024 16:31
@ndricimrr
Copy link
Contributor Author

ndricimrr commented Jun 20, 2024

⚠️ Review after Light DOM Container has been merged. To avoid reviewing prettifyed files.

EDIT: Can be reviewed

@JohannesDoberer JohannesDoberer added the ora ora related issues label Jul 2, 2024
@walmazacn walmazacn self-assigned this Jul 3, 2024
Copy link
Contributor

@walmazacn walmazacn left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ndricimrr ndricimrr merged commit 9e30e36 into main Jul 4, 2024
11 checks passed
@ndricimrr ndricimrr deleted the 3784-getToken-function branch July 4, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
container ora ora related issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add client getToken function support to Container
3 participants