Repository navigation
Addressing #6 - public client: token_endpoint_auth_method should be none (AuthorizationCodeGrant top-level redirect prompt=none) - #7
Conversation
token_endpoint_auth_method should be nonetoken_endpoint_auth_method should be none
token_endpoint_auth_method should be nonetoken_endpoint_auth_method should be none
public clients are not supposed to use this flow
needed to modify Session constructor and login method signature
CSS will not issue refresh token despite that on silent authentication, but ESS will
|
Now, we first try to renew tokens using the RefreshTokenGrant, if that does not work, we attempt silent authentication in the AuthorizationCodeGrant once, if that doesnt work, the session remains unauthenticated such that a user needs to manually login again (and be prompted). Instead of storing the Note: UX: |
|
Based on my current understanding, I think I want to use the RefreshTokenGrant only for token renewal (not re-establishing a session) such that we do not store any sensitive information in Edit: TIL, we can store the non-extractable (!) DPoP KeyPair via the IndexedDB API and later retrieve the CryptoKey object and re-use the keys. With the current IDPs, this poses a securer approach than using silent authentication in the AuthorizationCodeGrant :
|
token_endpoint_auth_method should be nonetoken_endpoint_auth_method should be none (Silent Authentication)
token_endpoint_auth_method should be none (Silent Authentication)token_endpoint_auth_method should be none (AuthCodeGrant prompt=none)
token_endpoint_auth_method should be none (AuthCodeGrant prompt=none)token_endpoint_auth_method should be none (AuthorizationCodeGrant top-level redirect prompt=none)
|
Suspending efforts on this; #9 is currently favored and merged. |
Addressing #6 - remaining a draft for now - due to UX considerations (login after each page reload is not nice).