You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Petri Tuomola (Jira)" <ji...@apache.org> on 2021/12/28 03:00:00 UTC

[jira] [Resolved] (FINERACT-1352) OAuth Bad credentials error

     [ https://issues.apache.org/jira/browse/FINERACT-1352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Petri Tuomola resolved FINERACT-1352.
-------------------------------------
    Resolution: Fixed

> OAuth Bad credentials error
> ---------------------------
>
>                 Key: FINERACT-1352
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1352
>             Project: Apache Fineract
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 1.3.0
>            Reporter: David LEVY
>            Assignee: Petri Tuomola
>            Priority: Major
>
> 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 ! 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)