cvillaseca/mobileAPIREST API with Oauth2 using Springboot 2.2.X written in Kotlin - cvillaseca/mobileAPI |
![]() |
Remember to follow, share & hit the 👏 button if you liked it! :)
Thanks to Mario Sanoguera de Lorenzo.
How to create a REST API for your App with Spring Boot, Kotlin & Gradle (Part 2: Security with OAuth2)
OAuth 2.0 is a protocol that allows a user to grant limited access to their resources on one site, to another site, without having to expose their credentials. It allows limited access to the user’s data and allows accessing when authorization tokens expire. It has ability to share data for users without having to release personal information. It is easier to implement and provides stronger authentication. Click here to learn more about OAuth2.
1. Add the Spring security OAuth2 dependency to our
|
How to create a REST API for your App with Spring Boot, Kotlin & Gradle (Part 3: Adding a H2… |
![]() |
This article is part of a series of tutorials:
- Part 1. First Controller
- Part 2. Securing with OAuth2
- Part 3. Adding a H2 database
- Part 4. Testing the API
- Part 5. Deploy on Heroku
The entire code for this part is available on Github:
cvillaseca/mobileAPIREST API with Oauth2 using Springboot 2.2.X written in Kotlin - cvillaseca/mobileAPI |
![]() |
By Ivan Kuten
So, how can you update Android on mobile devices? While developing software for Smart TVs and Android-based set-top boxes, we’ve narrowed it down to four ways, discarding some very exotic options:
Tech Showcases,
Developer Resources &
Partners
Latest Android Jobs
Your weekly dose of Kotlin
Android Tech Blogs, Case Studies and Step-by-Step Coding
Meet one of Berlin's top employers
Google Play resources tailored for the global droidcon community
Droidcon is a registered trademark of Mobile Seasons GmbH Copyright © 2020. All rights reserved.