这是indexloc提供的服务,不要输入任何密码
Skip to content

Can RP cache credential.token instead of calling navigator.credentials.get every time the page is refreshed? #691

@Yekongs

Description

@Yekongs

I am implementing my own IdP and RP. During this process, I found that every time I refresh the page and call navigator.credentials.get to log in, a pop-up window will appear in the upper right corner. The user needs to actively click Continue before logging in, and it takes 1 to 2 seconds to wait.
image
Even if there is automatic re-authentication, a pop-up window will appear in the upper right corner, and it also takes 1 to 2 seconds to wait. This does not feel very friendly to the user experience.
image
The token returned by the navigator.credentials.get method has an expiration time. Can the RP cache the token and call navigator.credentials.get after the token expires? This will provide a better user experience.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions