repomaa
04/12/2021, 10:04 AMrp
04/12/2021, 10:05 AMrepomaa
04/12/2021, 10:06 AMrp
04/12/2021, 10:06 AMrepomaa
04/12/2021, 10:06 AMrepomaa
04/12/2021, 10:06 AMrepomaa
04/12/2021, 10:06 AMrp
04/12/2021, 10:06 AMrepomaa
04/12/2021, 10:07 AMrp
04/12/2021, 10:07 AMrp
04/12/2021, 10:07 AMrepomaa
04/12/2021, 10:07 AMrp
04/12/2021, 10:07 AMrepomaa
04/12/2021, 10:07 AMrp
04/12/2021, 10:07 AMrepomaa
04/12/2021, 10:08 AMrp
04/12/2021, 10:08 AMrp
04/12/2021, 10:08 AMrepomaa
04/12/2021, 10:08 AMrepomaa
04/12/2021, 10:08 AMrp
04/12/2021, 10:16 AMACCESS_TOKEN_SIGNING_KEY_DYNAMIC
to false
)
- Go to the database > key_value
table > change the value of "access_token_signing_key"
to ;. For example, if the public key is "pubkey" and private key is "prikey", then the value in the db should be "pubkey;prikey". The way we generate public and private keys can be seen here: https://github.com/supertokens/supertokens-core/blob/master/src/main/java/io/supertokens/utils/Utils.java#L189rp
04/12/2021, 10:18 AMrepomaa
04/12/2021, 10:19 AMrepomaa
04/12/2021, 10:19 AMrepomaa
04/12/2021, 10:20 AMrepomaa
04/12/2021, 10:20 AM<public key>;<private key>
pem? JWK?rp
04/12/2021, 10:23 AMuserId
- `refreshTokenHash1`: a reference to this token's refresh token
- `parentRefreshTokenHash1`: a reference to the refresh token that was used to create this access token.
- `userData`: Any JSON object that you wish to provide
- `antiCsrfToken`: used to check if the incoming anti-csrf token is valid or not
- `expiryTime`: in Milliseconds
- `timeCreated`: in Milliseconds
- `lmrt`: Used to check when the user had last manually authenticatedrepomaa
04/12/2021, 10:23 AMrepomaa
04/12/2021, 10:24 AM