-
Notifications
You must be signed in to change notification settings - Fork 873
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
Allow http redirect for localhost testing #7783
base: master
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 0c05811 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
66da067
to
3349186
Compare
Size Report 1Affected Products
Test Logs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't see doc impact here, but otherwise LGTM!
3349186
to
c9b775c
Compare
Size Analysis Report 1Affected Products
Test Logs |
@@ -129,8 +129,11 @@ export async function _getRedirectUrl( | |||
|
|||
function getHandlerBase({ config }: AuthInternal): string { | |||
if (!config.emulator) { | |||
return `https://${config.authDomain}/${WIDGET_PATH}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will now hardcode http:// for the localhost authDomain. It is possible that this doesn't work for some folks who are setting up TLS on localhost. But i think it is worth merging this and seeing what the feedback is.
Also adding @renkelvin to take a look.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I think the fix Parijat just made should fix that.
c9b775c
to
e58e683
Compare
+1 makes development lot easier pls merge |
PR for fixing github issue #7342 to allow http redirect for localhost authdomain.
Tested using demo app that on redirect url uses http instead of https.