Open
Conversation
- Simplified the setup of environment variables in the setupQuickstartCmd function. - Replaced multiple calls to WriteString with fmt.Fprintf for better readability and performance. - Consolidated variable declarations to improve code clarity and reduce redundancy.
- Updated the quickstart setup command to support JHipster Regular Web App. - Enhanced the help text to include "jhipster-rwa" as a valid quickstart type. - Added default port 8080 for JHipster applications. - Modified the application name prompt to default to "JHipster" for JHipster RWA. - Adjusted environment variable setup for JHipster applications. - Updated error messages to reflect the new supported quickstart types.
…ation creation to provide detailed next steps - Included commands for configuring OAUTH2 parameters and managing connections, roles, and actions. - This change improves user guidance for integrating JHipster with Auth0, ensuring a smoother setup process.
…A application creation to provide detailed next steps" This reverts commit d5612aa.
… support to align with Jhipster OAuth2 standards.
…tion creation to direct users to the JHipster documentation for completing the setup.
- Changed the help message for the "Name" flag in the quickstarts command. - The new message specifies default names for specific frameworks: - 'My App' for vite, nextjs, and fastify - 'JHipster' for jhipster-rwa - This enhancement provides clearer guidance to users on expected input.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔧 Changes
Adds JHipster Regular Web Application (RWA) support to the
auth0 quickstarts setupcommand, enabling users to configure Auth0 for JHipster projects directly from the CLI.New quickstart type:
jhipster-rwa/login/oauth2/code/oidc8080and app nameJHipster.envwith Spring Security OAuth2 variable names (SPRING_SECURITY_OAUTH2_CLIENT_*,JHIPSTER_SECURITY_OAUTH2_AUDIENCE)📚 References
🔬 Testing
Manual testing:
auth0 quickstarts setup --type jhipster-rwa.auth0 quickstarts setup --type jhipster-rwa --port 9090 --name "My JHipster App"to verify custom port and namevite,nextjs,fastify) still work as expected📝 Checklist