Prompt parameter customizable and default to None#59
Conversation
|
This looks good to me. I tested this version with my Flask app and verified that the default behavior, and explicitly setting The only concern I would have is whether more communication is needed about changing the default behavior, in case anyone was relying on the previous behavior but would now need to explicitly set |
Yeah, I know. In your test with |
|
I added a logout link to my app and tested it while having This is probably fine, because if I wanted to log out and didn't have a logged-out view to land on, this prompt probably makes sense to land on. |
|
During your logout test, were you redirected to the upstream ID provider (i.e. If so, then you finished a complete logout including the logout from the ID provider. That's why the subsequent sign-in attempt will still land you on the account picker. If you (as a developer) purposely chose to skip logging out from the ID provider, then the situation I described in #58 will kick in. All in all, it seems that the new default |
|
Ah, yes, I did get taken through a complete logout flow from the upstream provider, although I didn't have to click anything to do it. I agree that this is probably fine if one would have to deliberately circumvent the upstream logout to get into the behavior your described. |
937a7fe to
85614ed
Compare
|
Shipped in Identity 0.11.0 |
This PR will resolve #58
To test this PR, you can install the package by
pip install https://github.com/rayluo/identity/archive/refs/heads/customizable-prompt.zip.CC: @cjknapp12epic