-
Notifications
You must be signed in to change notification settings - Fork 37
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open and close “Change Password” page from SDK #3813
Comments
Currently we use interaction to change password, with redirectURI hard-coded to authgear.open(.changePassword, escOnSuccess: true) SDK will concat
|
Need to discuss how should web be handled |
After discussion:
|
If pop history is not feasible, we may need to provide a field in the portal for "Post-change-password URL".. |
After testing implementation with web sdk, found original double redirect_uri approach hard to accommodate it. Also we want to let SDK user know whether user has finished the given settings action. Will do following changes:
|
We now use implicitly whitelisted response types instead of client config
Return to user app if user visits expired oauth pages e.g. oauth consent. It mostly likely happens when users refresh on expired oauth page or go back after oauth flow has completed e.g. settings action.
We now use implicitly whitelisted response types instead of client config
Return to user app if user visits expired oauth pages e.g. oauth consent. It mostly likely happens when users refresh on expired oauth page or go back after oauth flow has completed e.g. settings action.
I found that the change password function is not on API reference yet. https://authgear.github.io/authgear-sdk-js/docs/capacitor/classes/CapacitorContainer/ Is it available in the v2.7.0? If so, should we update the references? |
Updated the API reference. |
@newman @louischan For other SDK: iOS, Android, Flutter, do we need to update the version? |
iOS: Fixed a bug that docs was not deployed authgear/authgear-sdk-ios@458d4ba |
Thanks @louischan-oursky |
Problem
Some users wish to use our pre-built "Change Password" page but not the full "Settings" page.
Solution
authgear.open(Page.ChangePassword)
in the SDKs/settings
page or other pages from the UI. After changing the password, in the success screen, the primary button will close the webview.The text was updated successfully, but these errors were encountered: