• r

    rp

    2 years ago
    By calling an API to get user’s info
  • r

    rp

    2 years ago
    We will be adding features that will allow u to read info of another token called Open ID token
  • Sun Walker

    Sun Walker

    2 years ago
    Oh, usually on the front end dont you have access to current user?
  • r

    rp

    2 years ago
    Not via the access token
  • r

    rp

    2 years ago
    Usually, it’s either an API call to get user’s info
  • r

    rp

    2 years ago
    Or via a special token called open id connect
  • r

    rp

    2 years ago
    Either is fine really. Doesn’t make much of a difference
  • Sun Walker

    Sun Walker

    2 years ago
    Is open ID === user Id in database?
  • r

    rp

    2 years ago
    Actually, open ID is a JWT, that contains any info ur frontend might need
  • r

    rp

    2 years ago
    It’s like the access token. But it’s only for frontend’s use. It won’t give access to ur APIs