Ref: Flutter example for keycloak

1,056 views
Skip to first unread message

Teddy Nyambe

unread,
Aug 25, 2021, 12:42:06 PM8/25/21
to keyclo...@googlegroups.com
Dear All,

Is keycloak supported in flutter!? I have tried to use flutter_appauth but nothing is working as expected. Is there an example demonstrating how keycloak can work in flutter!??

--
.......................................................................................
Teddy Lubasi Nyambe
Opensource Zambia
Lusaka, ZAMBIA

Cell: +260 97 7760473
website: http://www.opensource.org.zm

~/
Human Knowledge belongs to the world! - AntiTrust

Man is a tool-using animal. Without tools he is nothing, with tools he is all - Thomas Carlyle 1795-1881

/~

Jon Koops

unread,
Aug 25, 2021, 3:13:12 PM8/25/21
to Teddy Nyambe, keyclo...@googlegroups.com
Hi Teddy,

Keycloak uses OpenID connect for client applications, any client that is compatible with the standard should work. I'd recommend you look around the Flutter community to find one that works for you.

Jon

--
You received this message because you are subscribed to the Google Groups "Keycloak User" group.
To unsubscribe from this group and stop receiving emails from it, send an email to keycloak-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/keycloak-user/CAHZbsENd8RVe1w3NhZ0o2h1RdgWrAGhik%3DYBeAT-zhwanNWRrA%40mail.gmail.com.

Teddy Nyambe

unread,
Aug 26, 2021, 10:32:14 AM8/26/21
to Keycloak User
Thanks Jon,

I will soon share what has worked for in using flutter_appauth package. I will update this post soon.

Thanks for the pointers.

Sơn Lâm Nguyễn

unread,
Feb 8, 2023, 2:52:14 AM2/8/23
to Keycloak User
Hi everyone,
I am using flutter_appauth package with keycloak 17.0.1 to authenticate users for my apps. But I cannot log out with appAuth.endSession().
This is my code: 
await _appAuth.endSession(EndSessionRequest(
idTokenHint: '',
postLogoutRedirectUrl: 'com.example.ex',
serviceConfiguration: const AuthorizationServiceConfiguration(authorizationEndpoint: 'https://iam.com/realms/TEST/protocol/openid-connect/auth', tokenEndpoint: ' https://iam.com/realms/TEST ', endSessionEndpoint: ' https://iam.com/realms/TEST  /protocol/openid-connect/logout')));


Would you happen to have any advice for me? I'm so grateful for that.

Vào lúc 21:32:14 UTC+7 ngày Thứ Năm, 26 tháng 8, 2021, softwa...@gmail.com đã viết:
Reply all
Reply to author
Forward
0 new messages