byo-software / steam-openid-connect-provider

Steam OpenID Connect Identity Provider (IdP)
MIT License
67 stars 24 forks source link

Use ISteamUser/GetPlayersSummaries to fetch additional claims #6 #7

Closed Siljesc closed 4 years ago

Siljesc commented 4 years ago

I used profile service to add the claims manually.

This makes these claims accessible: picture (steam avatar), given_name, website (steam profile URL) and nickname.

It's my first time working with C# so probably there're things to improve.

Trojaner commented 4 years ago

Did you test it too?

Siljesc commented 4 years ago

Did you test it too?

Yes, I had tested it manually, and I was able to get the new claims after successfully logging in

Edit: Here's the user attributes added to keycloak https://pasteboard.co/JtYX5Ts.png

Trojaner commented 4 years ago

Thank you for your contributions