Results 1 to 2 of 2

Thread: Authorization Endpoint Error on Authorization Code Grant

Hybrid View

  1. #1

    Default Authorization Endpoint Error on Authorization Code Grant

    I get the error:
    Code:
    {"error":"invalid_client","error_description":"Client not found: 1"}
    I am trying to do some testing just to verify I can get an auth code by going to:
    Code:
    http://localhost:8080/auth/oauth/authorize?response_type=code&client_id=1&redirect_uri=https%3A%2F%2Fauth%2Eclient%2Ecom
    Where I have a known client with authority to do that grant type with an id of "1" and a redirect URI of http://auth.client.com

    I go to that URL, get the login page, login (and see it successfully communicate with the database via my logs), then I get this error. I set up debug level logging, but nothing comes through. I also ran in debug mode with a break point in my client details service and it never makes it there.

    Any suggestions?

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    I would expect to see an exception logged. Try turning on DEBUG logging for Sprinrg Security and for Oauth?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •