mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:36:44 +00:00
remove org scope check before parsing
This commit is contained in:
@@ -89,10 +89,7 @@ export async function GET(request: NextRequest) {
|
||||
const { authRequest } = await getAuthRequest(server, { authRequestId });
|
||||
let organization;
|
||||
|
||||
if (
|
||||
authRequest?.scope &&
|
||||
authRequest.scope.find((s: string) => ORG_SCOPE_REGEX.test(s))
|
||||
) {
|
||||
if (authRequest?.scope) {
|
||||
const orgScope = authRequest.scope.find((s: string) =>
|
||||
ORG_SCOPE_REGEX.test(s)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user