Martin
Martin

Reputation: 257

OAuth2 protected Spring Boot REST Api with local user database and authentication

I'm looking to build a Spring Boot REST API for an Android application. Some of user specific resources should be protected by OAuth2.

My problem is - I don't wan't to use the social logins for my user authentication. I wan't to have my own user database (SQL) with my own user registration, that allows the user to login using username/password.

I'm new to the Spring Boot world - but have been looking on quite a few examples online, and I can see that Spring has a lot of useful libraries for user handling and OAuth.

But I can't seem to find some good examples that describes the proces of creating an Authentication Server that uses a local user database, and at the same time has an open user registration API.

So my question is - does any of You guys/girls have some links to guides that does this?

Thanks

Upvotes: 1

Views: 1931

Answers (1)

Related Questions