Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to change OAuth Redirect URLs due to GraphQL error #665

Closed
codesalatdev opened this issue Sep 29, 2022 · 11 comments
Closed

Unable to change OAuth Redirect URLs due to GraphQL error #665

codesalatdev opened this issue Sep 29, 2022 · 11 comments

Comments

@codesalatdev
Copy link

Every attempt to try to change the OAuth Redirect URL for any application results in the site doing nothing when clicking "Save". In the console, there are errors reported by GraphQL (service error and failed integrity check):

image

I am therefore unable to modify my application's redirect URLs in any way. This happens regardless of browser or version.

@hudbuddy
Copy link

I am encountering a similar issue when updating redirect URLs (error: service error)

image

@codesalatdev
Copy link
Author

@hudbuddy got that message too at the start, but then it switched to the integrity error. Don't know why, but we're definitely talking about the same issue here.

@RobbiePlata
Copy link

RobbiePlata commented Oct 1, 2022

{
    "operationName": "UpdateOauthApp",
    "variables": {
        "input": {
            "name": "PubSub",
            "redirectURIs": [
                "https://localhost:3001",
                "http://localhost:3000"
            ],
            "categoryID": "8",
            "categoryOther": "",
            "groupID": "",
            "id": "jw08wg5efyttyep4rjzhvq3g37wx26"
        }
    },
    "extensions": {
        "persistedQuery": {
            "version": 1,
            "sha256Hash": "01a86b1a5d2d214259a86eb0a28526f78b39f784d4b7f89f4b68638874fdb474"
        }
    }
}

2nd redirect URI does not save, response is 200.

Repro:
Type redirect_uri
Add redirect_uri
Save

EDIT: Resolved with more specific client name via @BarryCarlyon

@Kottakji
Copy link

Kottakji commented Oct 1, 2022

Seems to be working again for me.

@codesalatdev
Copy link
Author

@JorisKok same. I'm closing this. If anyone still has the issue, feel free to open it up again.

@BarryCarlyon
Copy link
Contributor

BarryCarlyon commented Oct 2, 2022

For anyone that stumbles over this issue:

This is superseeded by #665 and anyone having an issue crate or editing an application should also check they are

  1. using a supported browser (Chrome/Firefox/Edge/Safari) users of Brave or operaGX users may have issues
  2. ensure your application is using a unique name that adequately identifies your application.

@ilya-zlobintsev
Copy link

I've also encountered this issue, and the solution was changing the app name. Which is weird, because I've had the old app name for years at this point. If I change back to the old name, it breaks again.

@Omsad
Copy link

Omsad commented Nov 26, 2022

The issue looks to have re-appeared as I'm unable to add an additional redirect url.
Example

@domsson
Copy link

domsson commented Feb 1, 2023

I can neither create a new, nor edit an existing application. Have tried with two different browsers and two different users (one combination of which was previously able to create and edit applications). Getting GraphSQL error in the console.

@Lowgy
Copy link

Lowgy commented Dec 12, 2024

I am getting the same issue when trying to update my redirect urls from localhost to actual domain

[
    {
        "errors": [
            {
                "message": "failed integrity check"
            }
        ],
        "extensions": {
            "challenge": {
                "type": "integrity"
            },
            "durationMilliseconds": 3,
            "operationName": "UpdateOauthApp",
            "requestID": "01JEYEE1G72YNCBR3J5CDXMYYZ"
        }
    }
]

@BarryCarlyon
Copy link
Contributor

@Lowgy https://help.twitch.tv/s/article/supported-browsers?language=en_US#troubleshooting

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants