-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
95 lines (63 loc) · 2.66 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
CONTENTS OF THIS FILE
---------------------
* Introduction
* Requirements
* Installation
* Configuration
* How it works
* Support requests
* Maintainers
INTRODUCTION
------------
Social Auth Reddit is a Reddit authentication integration for Drupal. It is
based on the Social Auth and Social API projects
It adds to the site:
* A new url: /user/login/reddit.
* A settings form at /admin/config/social-api/social-auth/reddit.
* A Reddit Logo in the Social Auth Login block.
REQUIREMENTS
------------
This module requires the following modules:
* Social Auth (https://drupal.org/project/social_auth)
* Social API (https://drupal.org/project/social_api)
INSTALLATION
------------
* Run composer to install the dependencies.
composer require "drupal/social_auth_reddit:^2.0"
* Install the dependencies: Social API and Social Auth.
* Install as you would normally install a contributed Drupal module. See:
https://drupal.org/documentation/install/modules-themes/modules-8
for further information.
* A more comprehensive installation instruction for Drupal 8 can be found at
https://www.drupal.org/docs/8/modules/social-api/social-api-2x/social-auth-2x/social-auth-reddit-2x-installation
CONFIGURATION
-------------
* Add your Reddit project OAuth information in
Configuration » User Authentication » Reddit.
* Place a Social Auth Login block in Structure » Block Layout.
* If you already have a Social Auth Login block in the site, rebuild the cache.
HOW IT WORKS
------------
The user can click on the Reddit logo on the Social Auth Login block
You can also add a button or link anywhere on the site that points
to /user/login/reddit, so theming and customizing the button or link
is very flexible.
After Reddit has returned the user to your site, the module compares the user id
provided by Reddit. If the user has previously registered using Reddit, the user
is logged in. If not, a new user account is created. Also, a Reddit account can
be associated with an authenticated user.
SUPPORT REQUESTS
----------------
* Before posting a support request, carefully read the installation
instructions provided in module documentation page.
* Before posting a support request, check the Recent Log entries at
admin/reports/dblog
* Once you have done this, you can post a support request at module issue
queue: https://www.drupal.org/project/issues/social_auth_reddit
* When posting a support request, please inform if you were able to see any
errors in the Recent Log entries.
MAINTAINERS
-----------
Current maintainers:
* Kifah Meeran (kifah-meeran) - https://www.drupal.org/u/kifah-meeran
* Getulio Sánchez (gvso) - https://www.drupal.org/u/gvso