scheibo/steamsso

A Steam SSO plugin for seamless integration with Steam accounts in Kirby, enabling users to log in with their Steam credentials. Simplifies authentication for gaming platforms and services.

Maintainers

Package info

github.com/scheibome/SteamSSO

Homepage

Type:kirby-plugin

pkg:composer/scheibo/steamsso

Statistics

Installs: 5

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

1.0.1 2024-04-03 08:49 UTC

This package is auto-updated.

Last update: 2026-03-29 01:04:48 UTC


README

This plugin allows you to authenticate users via Steam OpenID.

Installation

Download

Download and copy this repository to /site/plugins/steamsso.

Composer

composer require scheibo/steamsso

Configuration

Steam API Key

You need to get a Steam API Key from Steam.

Kirby Configuration

Add the following configuration to your site/config/config.php:

return [
    'steam' => [
        'apiKey' => '',
        'loginUrl' => 'https://www.example.com',
        'emailDomain' => 'steamuser@example.com',
        'role' => 'steamuser',
    ],
];

Add Steam Login Button

Add the following code to your template:

<?php snippet('steamsso/loginbutton') ?>

Add Steam Logout Button

Add the following code to your template:

<?php snippet('steamsso/logoutbutton') ?>

Add Steam User Info

Add the following code to your template:

<?php snippet('steamsso/userinfo') ?>

Add stylesheet

Add the following code to your template:

<?= css('site/plugins/steamsso/steamsso.css') ?>