Bdaya-Dev / oidc

Flutter OpenIdConnect plugin
https://bdaya-dev.github.io/oidc/
MIT License
27 stars 15 forks source link

feat: Direct guide to Forgot Password Keycloak Form via loginAuthorizationCodeFlow breaks #113

Open s681562 opened 1 month ago

s681562 commented 1 month ago

Description

I follow the example ...

Uri authorizationEndpointUri = Uri.parse("https://.../realms/.../login-actions/reset-credentials");
await manager!.loginAuthorizationCodeFlow(
    discoveryDocumentOverride: manager!.discoveryDocument.copyWith(
      authorizationEndpoint: authorizationEndpointUri,
    )
);

But it doesn't work like expected. Some params are missing. If I am in forgot password form popup and I want going back, it breaks. Click on (Back to Login) leads into (Sorry... cookie missing)

KakaoTalk_20240723_101227188 KakaoTalk_20240723_101258292

Which additional params in loginAuthorizationCodeFlow must be set?

Clearly describe what you are looking to add. The more context the better.

Requirements

Additional Context

Add any other context or screenshots about the feature request go here.

ahmednfwela commented 1 month ago

Duplicate of #114 ?