kalinjul / kotlin-multiplatform-oidc

Kotlin Multiplatform OpenIDConnect implementation for Android/iOS
https://kalinjul.github.io/kotlin-multiplatform-oidc/
Apache License 2.0
40 stars 15 forks source link

Support Implicit Auth Flow #44

Open DatL4g opened 5 months ago

DatL4g commented 5 months ago

⚠️ This brings breaking code changes

Added support for Implicit auth flow, that directly contains the access token in the redirect.

Could not test as it's impossible to build on anything other than macOS but should work as before except removed/renamed models.

This does not come with a new auth flow implementation as it's not 100% possible to determine the actual auth result and may depend on the same configuration. This also makes it possible to support implicit grant and code auth flow for the same website while only registering one auth flow in the application.