Skip to content

fix: 🐛 add better_auth_url to auth server trusted origins#747

Merged
EightBitByte merged 2 commits into
devfrom
staging-auth-fix
May 20, 2026
Merged

fix: 🐛 add better_auth_url to auth server trusted origins#747
EightBitByte merged 2 commits into
devfrom
staging-auth-fix

Conversation

@LexTruong
Copy link
Copy Markdown
Collaborator

Login was not working on staging instances. For example, the request url https://staging-719.peterplate.com/api/auth/sign-in/oauth2 returned:

{"code":"INVALID_ORIGIN","message":"Invalid origin"}

@LexTruong LexTruong temporarily deployed to staging-747 May 20, 2026 06:33 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-747 May 20, 2026 06:34 Inactive
@LexTruong
Copy link
Copy Markdown
Collaborator Author

@MihaiZecheru FYI

@LexTruong LexTruong temporarily deployed to staging-747 May 20, 2026 07:10 — with GitHub Actions Inactive
@github-actions github-actions Bot temporarily deployed to staging-747 May 20, 2026 07:11 Inactive
Copy link
Copy Markdown
Collaborator

@EightBitByte EightBitByte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Able to login on staging now 👍

@EightBitByte EightBitByte merged commit 5ebc2c6 into dev May 20, 2026
2 checks passed
@EightBitByte EightBitByte deleted the staging-auth-fix branch May 20, 2026 23:15
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