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

Onboarding: Guard deployedURL #1373

Merged
merged 1 commit into from
Dec 9, 2024
Merged

Conversation

tordans
Copy link
Contributor

@tordans tordans commented Dec 6, 2024

Before, it was possible to provide https://foo.com/ as input and generate a redirect_uri like https://foo.com//api/keystatic/github/oauth/callback which triggers the "The redirect_uri is not associated with this application." error by Github. Now the path is merged with the URL correctly for any valid URL input.


Disclaimer: This is untested, because of #1285 but I think it should be fine.

Before, it was possible to provide `https://foo.com/` as input and generate a redirect_uri like `https://foo.com//api/keystatic/github/oauth/callback` which triggers the "The `redirect_uri` is not associated with this application." error by Github. Now the path is merged with the URL correctly for any valid URL input.
@tordans tordans requested a review from emmatown as a code owner December 6, 2024 08:29
Copy link

changeset-bot bot commented Dec 6, 2024

🦋 Changeset detected

Latest commit: 88bcf5d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@keystatic/core Patch
@keystar/docs Patch
@example/astro-content Patch
@example/astro Patch
@example/localization Patch
@example/next-app Patch
@example/next-block-builder Patch
@example/next-pages Patch
@keystatic/remix-test-app Patch
keystatic-docs Patch
@keystatic/templates-astro Patch
@keystatic/templates-nextjs Patch
@keystatic/templates-remix Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@emmatown emmatown merged commit 1a23c5b into Thinkmill:main Dec 9, 2024
7 checks passed
@github-actions github-actions bot mentioned this pull request Dec 9, 2024
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.

2 participants