Migrate AppAuth to Kotlin and split it into two modules
See original GitHub issueKotlin became a first class language for Android in 2017 and since then more and more projects adopted it. AppAuth interoperability with Kotlin has been great but it still can benefit from being written in Kotlin.
In addition, this library has two things:
- Implementation for OAuth2.0 protocols.
- Integration with the Android platform for redirect handling and other parts
We can split this library into two parts.
The first would be a pure kotlin one where OAuth2.0 protocols are implemented and the second would be the platform dependent one where the OS is needed for redirection handling for example.
This can also be an opportunity to Kotlin coroutines instead of AsyncTask
and decide if we want to support Kotlin multi-platfrom.
What are your thoughts on this?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:8
- Comments:8
Top Results From Across the Web
Kotlin Android App using AppAuth | Curity Identity Server
This tutorial shows how to run a code example that implements mobile OpenID Connect in a Kotlin App according to RFC8252, using the...
Read more >Navigation best practices for multi-module projects
To learn how to provide type safety Navigation in a modularized project for the Kotlin DSL and Navigation Compose, check out the Navigation ......
Read more >Authenticating on Android with the AppAuth Library - Medium
While still within your build. gradle file, go into the defaultConfig node within the android node and add a manifest placeholder using your...
Read more >How to best divide big app into modules? - Stack Overflow
Basically, i'd approach it by taking a good look at the current architecture, outlining parts of it into specific modules and start moving...
Read more >Articles tagged oidc - Okta Developer
For years the Okta OIDC SDK was the primary tool mobile developers used to integrate ... that the Okta Mobile SDKs for Swift...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Adding to the discussion, is it interesting to have a demo app written in Kotlin? I can help create one if anyone is interested.
I don’t mind it but I haven’t seen anybody asking for this. It’s probably because Kotlin vs Java semantics are so similar that you can just convert code in your IDE if you want to. Might be a good idea to just start with the Readme examples and see if there are any takers.