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

DXCDT-555: Include universal-login customize assets #891

Merged

Conversation

sergiught
Copy link
Contributor

@sergiught sergiught commented Oct 30, 2023

🔧 Changes

This PR includes the auth0 universal-login customize assets.

📚 References

🔬 Testing

📝 Checklist

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

@sergiught sergiught marked this pull request as ready for review October 30, 2023 12:44
@sergiught sergiught requested a review from a team as a code owner October 30, 2023 12:44
Makefile Show resolved Hide resolved
@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (feature/auth0-universal-login-customize@b1a4528). Click here to learn what that means.

Additional details and impacted files
@@                            Coverage Diff                             @@
##             feature/auth0-universal-login-customize     #891   +/-   ##
==========================================================================
  Coverage                                           ?   72.43%           
==========================================================================
  Files                                              ?       93           
  Lines                                              ?    12334           
  Branches                                           ?        0           
==========================================================================
  Hits                                               ?     8934           
  Misses                                             ?     2882           
  Partials                                           ?      518           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


assets: ## Generate Universal Login embeddable assets
${call print, "Generating Universal Login embeddable assets"}
@if [ ! -d "${UNIVERSAL_LOGIN_ASSETS_EXTERNAL_DIR}" ]; \
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe use mkdir -p to create the directory if it doesn't exist already?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Creating the directory is not enough, we need to actually clone the web app repo as well, which is not public, hence why we only check for the existence.

internal/cli/universal_login_customize.go Outdated Show resolved Hide resolved
@sergiught sergiught merged commit 6cdf650 into feature/auth0-universal-login-customize Oct 31, 2023
8 checks passed
@sergiught sergiught deleted the DXCDT-555-bake-assets branch October 31, 2023 08:59
sergiught added a commit that referenced this pull request Nov 1, 2023
* Add make command to generate universal-login preview assets

* Add universal-login preview assets

* Add route to serve universal-login customize assets

* Update assets

* Minor tweaks to web server url path

* Update assets

* Add npm install to make assets

* Remove ws_port query param

* Update assets

* Tiny improvements
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.

None yet

4 participants