Difference between revisions of "Extensions:Alias Logins"
Jump to navigation
Jump to search
(→Images) Tag: 2017 source edit |
Tag: 2017 source edit |
||
Line 8: | Line 8: | ||
# <code>php artisan optimize</code> | # <code>php artisan optimize</code> | ||
# In "config/lorekeeper/sites.php" update the login field to 1 for the auths you wish to use. | # In "config/lorekeeper/sites.php" update the login field to 1 for the auths you wish to use. | ||
− | # For each of those Auths you will need to refer back to their setup instructions (Category:Social Media Authentication) and make sure that you update any redirect link lists to also include "https://your-site.com/ | + | # For each of those Auths you will need to refer back to their setup instructions (Category:Social Media Authentication) and make sure that you update any redirect link lists to also include "https://your-site.com/login/callback/provider-name" making sure to swap out for your site name and the provider name (toyhouse, deviantart, etc) for each one as appropriate. |
If you add the same url, but with the url for your local testing environment, you should be able to test this locally too. | If you add the same url, but with the url for your local testing environment, you should be able to test this locally too. |
Revision as of 14:28, 9 January 2023
Description | Allows the usage of Auth Alias' as stand-in for passwords for logging in and registering |
---|---|
Author(s) | moif |
Status | stable |
Github | AW0005/lorekeeper-extensions/extension/alias-logins |
LK Version | 2.1.0 |
Contains a Migration | |
Adds the ability to allow users to login or register accounts via the same OAuth2 mechanism previously used for Aliases. Does require configuration updates to the Aliases you turn it on for, please see below for details.
Installation
- Pull the extension, deal with conflicts
php artisan migrate
php artisan optimize
- In "config/lorekeeper/sites.php" update the login field to 1 for the auths you wish to use.
- For each of those Auths you will need to refer back to their setup instructions (Category:Social Media Authentication) and make sure that you update any redirect link lists to also include "https://your-site.com/login/callback/provider-name" making sure to swap out for your site name and the provider name (toyhouse, deviantart, etc) for each one as appropriate.
If you add the same url, but with the url for your local testing environment, you should be able to test this locally too.
Usage
IMPORTANT Any existing users that want to make use of this feature will need to remove their existing aliases and re-add them for the ones that allow login. This is because the extension uses a more unique id snowflake from each service to identify users than what was stored prior for aliases.