Skip to content

Commit

Permalink
fix: prod tenant requires explicit realm
Browse files Browse the repository at this point in the history
  • Loading branch information
vnugent committed Nov 11, 2024
1 parent bf4c61f commit 45d6e5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/api/mobile/login/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ async function postHandler (request: NextRequest): Promise<NextResponse> {
username,
password,
scope: 'openid profile email offline_access',
audience: 'https://api.openbeta.io'
audience: 'https://api.openbeta.io',
realm: 'Username-Password-Authentication'
})

return NextResponse.json({ data: response.data })
Expand Down

0 comments on commit 45d6e5c

Please sign in to comment.