Jump to content
McKay Development

OpenID 2.0 integration


2JZ 4U

Recommended Posts

I have an OpenID 2.0 provider that handles authentication with steam. This ensures my users don't have to trust me nor themselves with their credentials.

I'm wanting to plug this into steam-user. I've tried everything I can think of.

Link to comment
Share on other sites

{
  provider: 'steam',
  type: 'oauth',
  providerAccountId: '76561198073023481',
  id_token: '#x###x##-#xx#-###x-####-#########xxx',
  access_token: '#x##xx##-xx#x-##x#-x##x-xxx##x##x#x#',
  steamId: '76561198073023481',
  name: '2JZ 4U',
  email: '[email protected]',
  picture: 'https://avatars.steamstatic.com/4dc49709d597bead9ebfbca0debf2bbe3f646b76_full.jpg',
  sub: '76561198073023481',
  id: '76561198073023481',
  image: 'https://avatars.steamstatic.com/4dc49709d597bead9ebfbca0debf2bbe3f646b76_full.jpg',
  iat: 1714362671,
  exp: 1716954671,
  jti: 'x#xx#xx#-#x##-#x#x-#xxx-xx###xxx###x'
}

To speed things up I've included a sample payload received from my OpenID auth provider. I've replaced the tokens with x for any letter [a-z] and # for any digit [0-9]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...