Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1352

OAuth Bad credentials error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 1.6.0
    • Security
    • None

    Description

      Hi, 

      I am experience different instabilities with Fineract oAuth2

      Some of the code I use is legacy and not documented so I am not 100% sure the root cause is Fineract itself, but I didn't find any discussion on it on google, so I try here

       

      For all the accounts and all requests I got last week for a few hours this generic error message " Bad credentials"

       
      1634699948 [http-bio-443-exec-7] INFO o.s.s.o.p.endpoint.TokenEndpoint - Handling error: InvalidGrantException, Bad credentials
      It seems to be a Spring Security error message, but I can't figure out why. The MySQL logs I have show valid results to the queries

      Is there a better way to debug ? 
      I thought about adding more verbosity in logs : 

       
      <loggername="org.apache.fineract.infrastructure.security.filter"level="info"/>
      <loggername="org.apache.fineract"level="debug"/><loggername="org.springframework.web"level="info"/><loggername="org.springframework.beans"level="debug"/>
       

      For which package I should override the level ? 

      thanks ! 

      Attachments

        Issue Links

          Activity

            People

              ptuomola Petri Tuomola
              davidlevy David LEVY
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: