Page loading error. URL: myApp://example.com?code=... Error: ERR_UNKNOWN_URL_SCHEME

Hi

I have a configuration for my HTTP Client
 

"my-staging": {
    "Type": "OAuth2",
    "Grant Type": "Authorization Code",
    "PKCE": true,
    "Auth URL": "myurl/authorize",
    "Token URL": "myurl/token",
    "Redirect URL": "myApp://example.com",
    "Scope": "myscope",
    "Client ID": "myclient"
}


When trying to acquire the token locally, after passing the credentials, I get

Redirecting
Page loading error.
URL: myApp://example.com?code=...
Error: ERR_UNKNOWN_URL_SCHEME


The redirect url is not available, which is fair, but the same request works in Postman.

Is there a way to make it work in the Rider client as well?

Thank you
 

0
1 comment

I found the solution for my original problem, we just changed myApp to smth with http, but generally speaking that should not be a bid deal for the HttpClient to handle not http redirects. 

1

Please sign in to leave a comment.