# Oauth Flow not working on sandbox

**URL:** <https://developer.squareup.com/forums/t/oauth-flow-not-working-on-sandbox/22527>\
**Category:** Questions\
**Tags:** oauth-api\
**Created:** [May 26, 2025, 6:10pm UTC](https://developer.squareup.com/forums/t/oauth-flow-not-working-on-sandbox/22527 "2025-05-26T18:10:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fcmarquis](https://avatars.discourse-cdn.com/v4/letter/f/82dd89/32.png) [@fcmarquis](https://developer.squareup.com/forums/u/fcmarquis)\
**Post date:** [May 26, 2025, 6:10pm UTC](https://developer.squareup.com/forums/t/oauth-flow-not-working-on-sandbox/22527/1 "2025-05-26T18:10:45Z")

</div>

ref:

> **[OAuth API](https://developer.squareup.com/docs/oauth-api/overview#oauth-in-the-production-and-sandbox-environments)**
>
> The OAuth API lets you request permissions from Square sellers to manage their resources and get access tokens to call Square APIs on their behalf.

[https://connect.squareupsandbox.com/oauth2/authorize?client\_id=sandbox-sq0idb-ioiyW39PwrXoGy4&scope=ORDERS\_READ+MERCHANT\_PROFILE\_READ&state=abc123](https://connect.squareupsandbox.com/oauth2/authorize?client_id=sandbox-sq0idb-ioiyW39PwrXoGy4&scope=ORDERS_READ+MERCHANT_PROFILE_READ&state=abc123)

Returns a white screen and not the login page. Normal?

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [May 26, 2025, 6:10pm UTC](https://developer.squareup.com/forums/t/oauth-flow-not-working-on-sandbox/22527/2 "2025-05-26T18:10:58Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:  
[https://developer.squareup.com/docs/oauth-api/walkthrough2](https://developer.squareup.com/docs/oauth-api/walkthrough2)

> **[Move OAuth from the Sandbox to Production](https://developer.squareup.com/docs/oauth-api/movetoprod)**
>
> A list of tasks for a developer to take to move an application from using the Square Sandbox to a production environment.

> **Additional Documentation**
>
> [Square Sandbox](https://developer.squareup.com/docs/devtools/sandbox/overview)  
> [OAuth Walkthrough: Test Authorization with Web Server](https://developer.squareup.com/docs/oauth-api/build-with-oauth)  
> [OAuth Walkthrough: Test Authorization with Web Server](https://developer.squareup.com/docs/oauth-api/walkthrough)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.
