Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

how to update redirect_uri ? #3402

Closed
gaoconggit opened this issue Jul 9, 2019 · 6 comments
Closed

how to update redirect_uri ? #3402

gaoconggit opened this issue Jul 9, 2019 · 6 comments
Labels

Comments

@gaoconggit
Copy link

{
  "ClientId": "mvc",
  "ClientName": "MVC Client",
  "AllowedRedirectUris": [
    "http://baidu.com/signin-oidc"
  ],
  "SubjectId": "anonymous",
  "RequestedScopes": "",
  "Raw": {
    "client_id": "mvc",
    "redirect_uri": "http://localhost:5002/signin-oidc",
    "response_type": "code id_token",
    "scope": "openid profile api1 offline_access",
    "response_mode": "form_post",
    "nonce": "636982635967870789.M2ZjNjVlM2MtMGI2Ni00MTFlLWJkZjctNjc3ZDI5N2UyNzJhMzQyNTk3NDMtMjVkNy00YjBjLWFjMmMtOGI4YWE1YWQwMTQ5",
    "state": "CfDJ8OEgd9-lfDNErR4b2WEMDlz5b5fxCGn7r9soC3s6tV519P2l3yfSuKSO95L_gKxMMxC7lBQ8YUHmjtvgyKqyI2CmbnVsSSDEgalqwVvcxGRHCcy0txTl9jOAdVTgt8bvs6j3iina8g57izF6bboSwP7Lwfb2IpP7uWkkH4T7pPgbB1TGkHQtLLI9fKAyRHpHhH9TNSSrBz2zy384BjJkDGUpmj5EBOGoi78FTNt9xeaZq-ZU_TMps1rjTL_2qz6G7fd_SCyQuOtXzZ-F22ruq8-tAAfFDnHwUHxPY1KH6OrDyunhOeC2VSG9xOdam6EmGCv6YZUC-mBv7Une6B56tvA",
    "x-client-SKU": "ID_NETSTANDARD1_4",
    "x-client-ver": "5.2.0.0"
  }
}

ERROR:

Sorry, there was an error : unauthorized_client
Invalid redirect_uri

@brockallen
Copy link
Member

Not enough information.

@gaoconggit
Copy link
Author

image

image

How can I modify it to make QuickStart work?

@scottbrady91
Copy link
Member

Your config says only http://baidu.com/signin-oidc is allowed, but your client is running on http://localhost:5002/signin-oidc.

@brockallen
Copy link
Member

Any update?

@gaoconggit
Copy link
Author

I want to know how to change the client redirect url.

client set CallbackPath

@lock
Copy link

lock bot commented Jan 11, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 11, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants