Clancey / simple_auth

The Simplest way to Authenticate in Flutter
MIT License
352 stars 108 forks source link

Incompatible with http 0.13.0 #152

Closed Vitaly-V closed 3 years ago

Vitaly-V commented 3 years ago

Because simple_auth_flutter >=2.0.7 depends on simple_auth ^2.0.7 which depends on http >=0.11.0 <0.13.0, simple_auth_flutter >=2.0.7 requires http >=0.11.0 <0.13.0. So, because app depends on both package_name ^1.0.0-nullsafety and simple_auth_flutter ^2.0.7, version solving failed.

Vitaly-V commented 3 years ago

https://github.com/Clancey/simple_auth/pull/153

Vitaly-V commented 3 years ago

Thanks for merging. But may I ask you to update pub.dev package version?

mattia-venturini commented 3 years ago

I found a compatibility problem with http 0.13.0

in simple_auth/lib/src/provders/keycloak.dart, line 55: var resp = await httpClient.post("${this.baseUrl}/auth/realms/${this.realm}/protocol/openid-connect/logout",

The argument type 'String' can't be assigned to the parameter type 'Uri'.

Vitaly-V commented 3 years ago

@mattia-venturini this PR should fix it https://github.com/Clancey/simple_auth/pull/155

Clancey commented 3 years ago

Package is updated!