Closed SameerChorge94 closed 1 year ago
Hi @SameerChorge94, did you manage to get the redirection to your application to work? I have the same problem.
@NassB i used another package instead which worked for both web and the mobile https://github.com/Concerti-IO/openidconnect_flutter
@SameerChorge94 ok I will try it then. Thanks!
This package does not contain the flutter specific code to open a browser and close it afterwards. There are some working examples on how it can be done on different platforms, including flutter, in the examples directory. Probably, you need to experiment with the url_launcher
plugin or similar plugins.
Hi, I had the same issue. The problem was, I haven't use port in the redirect URL. After I changed it, the redirection worked fine.
Hello,
I created the sample application as per your provided readme document, it's working properly for the mobile but facing some issues for the web
After running the project with the below command
flutter run -d chrome --web-port 60000
it navigates to the keycloak login screen and after login it redirects to one white screen with url contains the information for the token state etc. and does not navigate back to the app.As per noticed issue i'm facing this issue only when running through the above command or normal flutter project run. When i build the project and then host it in the IIS (Internet Service Manager ) in windows system, it seems to work fine i.e. it redirects to app after successful login.
Steps to reproduce:
Versions:
Any workaround or solution for this issue, As each time building app and after that hosting is not a feasible solution as sometimes we need to debug the project
Thank you.