---
title: "#kotlin articles | Hashnode"
description: "Kotlin is a statically-typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript source code or use the LLVM co..."
url: "https://hashnode.com/tag/kotlin"
---

Tag

# #kotlin

2,440 posts · 6,456 followers

[Syed Ghufran Hassan](https://hashnode.com/@ghufran) · [22h ago](https://hashnode.com/posts/from-zero-to-secure-implementing-oauth2-and-jwt-in-a-kotlin-spring-boot-app/6afb6e84498081ac6eb77595)

### [From Zero to Secure: Implementing OAuth2 and JWT in a Kotlin Spring Boot App](https://learningperk.hashnode.dev/from-zero-to-secure-implementing-oauth2-and-jwt-in-a-kotlin-spring-boot-app?utm_source=hashnode&utm_medium=feed)

Secure Kotlin Spring Boot APIs with OAuth2 and JWT. Beginner guide to authentication, authorization, scopes, roles, and token validation.

10 min read · [learningperk.hashnode.dev](https://learningperk.hashnode.dev/from-zero-to-secure-implementing-oauth2-and-jwt-in-a-kotlin-spring-boot-app?utm_source=hashnode&utm_medium=feed)

[Femi Akinyemi](https://hashnode.com/@FemiAkinyemi) · [12h ago](https://hashnode.com/posts/a-token-can-be-valid-and-still-not-be-meant-for-your-api/6afbf8899fef9556477b6a8f)

### [A token can be valid and still not be meant for your API](https://femitosin.hashnode.dev/a-token-can-be-valid-and-still-not-be-meant-for-your-api?utm_source=hashnode&utm_medium=feed)

I recently read a JetBrains tutorial on securing Kotlin and Spring Boot APIs with OAuth2 and JWT. If you're new to token auth, it's worth your time. What it covers It starts with the basics. Authentic

2 min read · [femitosin.hashnode.dev](https://femitosin.hashnode.dev/a-token-can-be-valid-and-still-not-be-meant-for-your-api?utm_source=hashnode&utm_medium=feed)

[phylis jepchumba](https://hashnode.com/@PhylisJepchumba) · [1d ago](https://hashnode.com/posts/securing-rest-apis-with-oauth-2-0-and-jwt-in-kotlin/6afb4aaa921a64cb8eb1946a)

### [Securing REST APIs with OAuth 2.0 and JWT in Kotlin](https://phylis.dev/securing-rest-apis-with-oauth-2-0-and-jwt-in-kotlin?utm_source=hashnode&utm_medium=feed)

How do you make sure the right people have access to the right information when building an API? I recently came across this useful tutorial on securing REST APIs with OAuth 2.0 and JSON Web Tokens (J

1 min read · [phylis.dev](https://phylis.dev/securing-rest-apis-with-oauth-2-0-and-jwt-in-kotlin?utm_source=hashnode&utm_medium=feed)

[Mayank Kumar](https://hashnode.com/@imayankkumar) · [1d ago](https://hashnode.com/posts/kotlin-sealed-class/6afa6c3292e557086320faee)

### [When Should You Use a Sealed Class in Kotlin?](https://imayankkumar.hashnode.dev/kotlin-sealed-class?utm_source=hashnode&utm_medium=feed)

What a sealed class is, where its subclasses are allowed to live, why when needs no else, and how to choose between a sealed class and a sealed interface.

9 min read · [imayankkumar.hashnode.dev](https://imayankkumar.hashnode.dev/kotlin-sealed-class?utm_source=hashnode&utm_medium=feed)

[Mayank Kumar](https://hashnode.com/@imayankkumar) · [3d ago](https://hashnode.com/posts/kotlin-data-class/6af861014d0c5c3184ad412f)

### [Kotlin Data Class vs Regular Class Explained Simply](https://imayankkumar.hashnode.dev/kotlin-data-class?utm_source=hashnode&utm_medium=feed)

What the data keyword really adds to a Kotlin class, the rules it comes with, why copy() is shallow, and what the compiler writes for you in bytecode.

8 min read · [imayankkumar.hashnode.dev](https://imayankkumar.hashnode.dev/kotlin-data-class?utm_source=hashnode&utm_medium=feed)

[Vidur Saini](https://hashnode.com/@vidursaini) · [4d ago](https://hashnode.com/posts/add-support-chat-to-android-app/6af6b32131af296f9698c52a)

### [How to add customer support chat to an Android app (Kotlin, 2026)](https://vidursaini.hashnode.dev/add-support-chat-to-android-app?utm_source=hashnode&utm_medium=feed)

Add in-app support chat to an Android app in Kotlin: where the button goes, signed identity, FCM reply push, the Android 13 permission and account deletion.

9 min read · [vidursaini.hashnode.dev](https://vidursaini.hashnode.dev/add-support-chat-to-android-app?utm_source=hashnode&utm_medium=feed)

[Orion Support Team](https://hashnode.com/@orionapps) · [5d ago](https://hashnode.com/posts/building-an-offline-first-pos-app-for-android/6af70f5f6003a33b83a02771)

### [Building an offline-first POS app for Android](https://orionapps.hashnode.dev/building-an-offline-first-pos-app-for-android?utm_source=hashnode&utm_medium=feed)

What went wrong with money maths, a label printer that ignored every text command, and a billing bug that looked like Google's.

5 min read · [orionapps.hashnode.dev](https://orionapps.hashnode.dev/building-an-offline-first-pos-app-for-android?utm_source=hashnode&utm_medium=feed)

[Android Expert](https://hashnode.com/@android-expert) · [6d ago](https://hashnode.com/posts/same-thread-different-moment-what-dispatchers-main-immediate-really-changes/6af4b20c393d93faac86ed76)

### [Same Thread, Different Moment: What Dispatchers.Main.immediate Really Changes](https://android-expert.hashnode.dev/same-thread-different-moment-what-dispatchers-main-immediate-really-changes?utm_source=hashnode&utm_medium=feed)

Both run on Android’s main thread, but one queues your coroutine and the other starts it now. Here is what breaks when you forget.

13 min read · [android-expert.hashnode.dev](https://android-expert.hashnode.dev/same-thread-different-moment-what-dispatchers-main-immediate-really-changes?utm_source=hashnode&utm_medium=feed)

[Android Expert](https://hashnode.com/@android-expert) · [6d ago](https://hashnode.com/posts/race-queue-or-cancel-choosing-the-right-flatmap-for-your-kotlin-flow/6af4b2049a2d1c1322f07ec6)

### [Race, Queue, or Cancel: Choosing the Right flatMap for Your Kotlin Flow](https://android-expert.hashnode.dev/race-queue-or-cancel-choosing-the-right-flatmap-for-your-kotlin-flow?utm_source=hashnode&utm_medium=feed)

How flatMapMerge, flatMapConcat and flatMapLatest differ on the same input, and the production failure modes each one hides.

12 min read · [android-expert.hashnode.dev](https://android-expert.hashnode.dev/race-queue-or-cancel-choosing-the-right-flatmap-for-your-kotlin-flow?utm_source=hashnode&utm_medium=feed)

[Android Expert](https://hashnode.com/@android-expert) · [6d ago](https://hashnode.com/posts/six-builders-one-mental-model-choosing-the-right-kotlin-coroutine-builder-in-a-production/6af4b1fea4540f825fe11d7f)

### [Six Builders, One Mental Model: Choosing the Right Kotlin Coroutine Builder in a Production Android App](https://android-expert.hashnode.dev/six-builders-one-mental-model-choosing-the-right-kotlin-coroutine-builder-in-a-production?utm_source=hashnode&utm_medium=feed)

How launch, async, runBlocking, coroutineScope, supervisorScope and withContext differ, and the production failure modes that bite.

17 min read · [android-expert.hashnode.dev](https://android-expert.hashnode.dev/six-builders-one-mental-model-choosing-the-right-kotlin-coroutine-builder-in-a-production?utm_source=hashnode&utm_medium=feed)
