Skip to content

fix(zitadel): don't prefix domain with https:// if another protocol is used#475

Merged
atinux merged 3 commits into
atinux:mainfrom
ysemennikov:fix/zitadel-incorrect-domain
Dec 9, 2025
Merged

fix(zitadel): don't prefix domain with https:// if another protocol is used#475
atinux merged 3 commits into
atinux:mainfrom
ysemennikov:fix/zitadel-incorrect-domain

Conversation

@ysemennikov
Copy link
Copy Markdown
Contributor

Currently, it's impossible to use non-https base URL in the Zitadel connector, since the connector always prefixes the domain with https://.

This is very inconvenient when testing the setup locally, since locally we usually don't use https.

The PR fixes the issue.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Dec 2, 2025

Open in StackBlitz

npm i https://pkg.pr.new/atinux/nuxt-auth-utils@475

commit: 5807755

@ysemennikov
Copy link
Copy Markdown
Contributor Author

Hi @atinux, there was a TS issue indicated by the type-checking pipeline. Just fixed it.

@ysemennikov ysemennikov requested a review from atinux December 2, 2025 09:10
Comment thread src/runtime/server/lib/oauth/zitadel.ts Outdated
Comment thread src/runtime/server/lib/oauth/zitadel.ts Outdated
@atinux atinux merged commit b030b7d into atinux:main Dec 9, 2025
4 checks passed
@ysemennikov ysemennikov deleted the fix/zitadel-incorrect-domain branch December 9, 2025 19:04
@lennartzellmer
Copy link
Copy Markdown

@ysemennikov Thanks so much for fixing this! (I just ran into this issue and saw that you fixed it, and I'm so happy I don't have to do it now :D )

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.

3 participants