Steam authentication with spring boot security

According to documentation spring boot security support auth with facebook google and github. I was able to make steam auth with org.pac4j and spring.security but I wonder if this is possible also with spring boot. All I need in org.pac4j is to define steam endpoint: https://steamcommunity.com/openid/

In spring boot there are a lot of properties which are necessary but I think steam don't need it

so I try:

spring.security.oauth2.client.provider.steam.authorization-uri=https://steamcommunity.com/openid/login
spring.security.oauth2.client.provider.steam.token-uri=https://steamcommunity.com/openid/
        
spring.security.oauth2.client.registration.steam.client-id=151640435578187
spring.security.oauth2.client.registration.steam.authorization-grant-type=authorization_code
spring.security.oauth2.client.registration.steam.redirect-uri={baseUrl}/login/oauth2/code/{registrationId}

but even redirect not working. Is there any guide how to make this possible ?



Read more here: https://stackoverflow.com/questions/64948116/steam-authentication-with-spring-boot-security

Content Attribution

This content was originally published by hudi at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: