There’s one thing I would take into my own projects and that is to keep the enforcement of authentication and authorization on the backend, not relying on the mobile app to do security checks.blog.jetbrains.com/kotlin/20…
5
This is useful for backend developers learning Spring Security, but the concepts are also applicable to mobile developers who work with secured APIs.
1
4
It walks through setting up a resource server, validating tokens and controlling access to endpoints with scopes and roles.
It also touches on how to handle custom JWT claims and how to verify the issuer and audience instead of just relying on signature verification.
1
1
10
This tutorial gives an example of how OAuth2 and JWT work together to secure APIs, using an implementation in Kotlin and Spring Boot.
blog.jetbrains.com/kotlin/20…
1
1
48
Replying to @moneyquietly
My last rent made me reconsider everything. It'll expire in the next 6 months, argh 😞
23



