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

nsqd: ability to configure auth endpoint path #1341

Merged
merged 1 commit into from
May 11, 2021

Conversation

tufanbarisyildirim
Copy link
Contributor

added ability to provide full url as auth endpoint #1336

@ploxiln ploxiln merged commit 1039fc5 into nsqio:master May 11, 2021
@Misiu
Copy link

Misiu commented May 11, 2021

What about https? I think it should be supported. This solution will work if we specify full url that starts with 'http'

@tufanbarisyildirim
Copy link
Contributor Author

What about https? I think it should be supported. This solution will work if we specify full url that starts with 'http'

https starts with http, so, both should work. @Misiu

@ploxiln
Copy link
Member

ploxiln commented May 11, 2021

Yeah, https should work fine.

But another possible objection is that a hostname could start with "http", like httpcluster01.company.org, so perhaps strings.Contains(authd, "://") would be a more precise condition.

@Misiu
Copy link

Misiu commented May 11, 2021

https starts with http, so, both should work. @Misiu

it's definitively too late for a review.
Sorry for the confusion. I can confirm that HTTPS starts with HTTP :)

@tufanbarisyildirim
Copy link
Contributor Author

Yeah, https should work fine.

But another possible objection is that a hostname could start with "http", like httpcluster01.company.org, so perhaps strings.Contains(authd, "://") would be a more precise condition.

yeah, good point, you add and commit it quickly maybe? since this is merged already.

@ploxiln
Copy link
Member

ploxiln commented May 11, 2021

Do you want to open a new pull request with that change 😁
I think it's fine to take a day or two, because this "feature" is not in a release yet.

tufanbarisyildirim added a commit to tufanbarisyildirim/nsq that referenced this pull request May 12, 2021
@mreiferson mreiferson changed the title ability to configure auth endpoint path nsqd: ability to configure auth endpoint path May 15, 2021
qaqhy pushed a commit to qaqhy/nsq that referenced this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants