Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃挕 [FEATURE] - Option in login()-function to not redirect, but instead do it in an iframe or popup #147

Closed
soofstad opened this issue Apr 10, 2024 · 0 comments 路 Fixed by #166
Labels
enhancement New feature or request

Comments

@soofstad
Copy link
Owner

Summary

Scenario

  1. The user has already logged in (has a cookie from the IDP)
  2. The user need a new token with a different claim than the one configured in authConfig

Basic Example

<Button onClick={()=>login(mode='iframe', extraParams={"scope": "oldClaim newClaim")}>

Drawbacks

none

Unresolved questions

No response

Implementation PR

No response

Reference Issues

See discussion #146

@soofstad soofstad added question Further information is requested enhancement New feature or request and removed question Further information is requested labels Apr 10, 2024
@soofstad soofstad changed the title 馃挕 [REQUEST] - Option in login()-function to not redirect, but instead do it in an iframe or popup 馃挕 [FEATURE] - Option in login()-function to not redirect, but instead do it in an iframe or popup Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant