Bdaya-Dev / oidc

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

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

Open s681562 opened 3 months ago

s681562 commented 3 months 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 3 months ago

Duplicate of #114 ?