[PR #1634] [MERGED] fix: expo plugin accessing wrong key for response headers #3912

Closed
opened 2026-03-13 11:21:53 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1634
Author: @ejjsharpe
Created: 3/2/2025
Status: Merged
Merged: 3/2/2025
Merged by: @Bekacru

Base: mainHead: fix/expo-wrong-headers-key


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/expo/src/index.ts (+1 -1)

📄 Description

The expo handler is trying to pull the location header from the responseHeader key however this key is actually responseHeaders plural. This causes a cannot find property on undefined error when trying to use social logins with the expo plugin.

I think this issue is in reference to this:
https://github.com/better-auth/better-auth/issues/1612


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1634 **Author:** [@ejjsharpe](https://github.com/ejjsharpe) **Created:** 3/2/2025 **Status:** ✅ Merged **Merged:** 3/2/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `fix/expo-wrong-headers-key` --- ### 📝 Commits (1) - [`14e200a`](https://github.com/better-auth/better-auth/commit/14e200a78e9041200740bfe700183f8b9f5e2d59) fix: expo headers key ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/expo/src/index.ts` (+1 -1) </details> ### 📄 Description The expo handler is trying to pull the location header from the responseHeader key however this key is actually `responseHeaders` plural. This causes a cannot find property on undefined error when trying to use social logins with the expo plugin. I think this issue is in reference to this: https://github.com/better-auth/better-auth/issues/1612 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:21:53 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#3912