... note: integrating external oauth servers is really easy now... at least the authentication part... authorization needs a bit more work. Before you search too long: look for spring oauth client configuration.
On Sat, 23 Sept 2023, 05:00 NgPS, <n...@objectmemetic.com> wrote: > On Wed, Sep 20, 2023 at 10:27:24PM +0000, Honest Chirozva wrote: > > Can anyone assist me on the configurations I can use for OAuth2 using > Keycloak with latest Fineract? I have enabled OAuth2 on > > the Fineract API and it was a success, however I have problems on the > Keycloak configurations, what do I need to do? Every > > token I generate from Keycloak is being rejected by the Fineract API – > getting 401 Unauthorized > > Have you decoded the tokens you get from Keycloak at https://jwt.io or > https://jwt.ms? Might get some hints > there. > > I have Fineract running with Keycloak. I did these on Keycloak: > > - created a realm > - created user 'mifos' in the realm > - configured my SMTP server to allow Keycloak sending mail thru it > (optional if you just want to get auth working) > > PS >