fix: add sample environment variables and update README for Okta integration#39
Open
lcaohoanq wants to merge 1 commit into
Open
fix: add sample environment variables and update README for Okta integration#39lcaohoanq wants to merge 1 commit into
lcaohoanq wants to merge 1 commit into
Conversation
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.
By submitting a PR to this repository, you agree to the terms within the Auth0 Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.
Description
This PR updates the documentation and configuration to improve local development experience.
README: Fixed the example configuration line for redirect_uri so that it correctly matches the required callback URL.
.gitignore: Added .env and .env.sample to avoid committing sensitive environment variables.
.env.sample: Introduced a sample file to serve as a reference for retrieving environment variables in application.yml.
These changes provide a clearer onboarding experience for new developers and prevent accidental leaks of sensitive environment data.
No breaking changes introduced.
Testing
Pulled the updated branch.
Verified that redirect_uri in README.md matches the allowed callback URL configured in the Auth0 dashboard.
Confirmed .env is ignored by Git and .env.sample is included.
Started the app locally (localhost:3000) with Auth0 login flow and confirmed successful login without "Callback URL mismatch" error.
Spring Boot 3.x with OAuth2 client
Java 17
Auth0 tenant: dev-pwuxxxxxxxxxxx2e.us.auth0.com
Checklist
master