Skip to content

nsqd: ability to configure auth endpoint path - #1341

Merged
ploxiln merged 1 commit into
nsqio:masterfrom
tufanbarisyildirim:auth_endpoint_1336
May 11, 2021
Merged

nsqd: ability to configure auth endpoint path#1341
ploxiln merged 1 commit into
nsqio:masterfrom
tufanbarisyildirim:auth_endpoint_1336

Conversation

@tufanbarisyildirim

Copy link
Copy Markdown
Contributor

added ability to provide full url as auth endpoint #1336

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

Misiu commented May 11, 2021

Copy link
Copy Markdown

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
Copy Markdown
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

ploxiln commented May 11, 2021

Copy link
Copy Markdown
Member

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

Misiu commented May 11, 2021

Copy link
Copy Markdown

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
Copy Markdown
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

ploxiln commented May 11, 2021

Copy link
Copy Markdown
Member

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