Questions tagged [authentication-authorization]
Use it for the user authentication/authorization on Drupal core or third-party modules.
366
questions
0
votes
1
answer
82
views
Redirect user back to the private page after they have logged in
On my site I have a private page that can only be accessed when the user is logged in. If they aren't logged in they are directed to the login page.
I want to redirect them back to that page after ...
0
votes
1
answer
353
views
Add "Request new Password" link to user logIn page
I am using the Logintoboggan module to redirect users to the login page when they try to visit a page for which they don't have the permission to visit.
How do I add a Request new Password or Forgot ...
1
vote
1
answer
90
views
Passwordless login in drupal 7
If I use something like hybridauth, can I remove password field from Drupal completely? Or at the very least make it not required during registration?
1
vote
0
answers
80
views
verification mail link not working
I have the following issue:
When a user register to the site he receives a message with a unique url in order to activate his account. so far so good. However when the user clicks the link provided ...
0
votes
2
answers
1k
views
How can I display a login and registration form, with an extra field on registration, and hybridauth in a modal?
I need to display a modal login and registration form if a user accesses a particular page.
On the registration form, I need to collect a phone number.
I need to show the hybridauth login on the ...
1
vote
1
answer
59
views
What is causing the "username_link not found" error in the LDAP integration module?
After integration and configuration of the LDAP integration module, my site is unable to access the LDAP Server. During testing it throws below error:
Notice: Undefined variable: username_link in ...
2
votes
0
answers
95
views
Single sign-on between different versions [closed]
I have two websites one in Drupal 7 and other in Drupal 8. I want to implement single sign-on between these two websites.
My users are registered in Drupal 7 and I want my users authenticated from ...
1
vote
0
answers
43
views
Is incremental auth supported on OAuth2 Server module?
I'm working on a project where I would need to use OAuth2 server module and I've searched through the source-code of the module to check if incremental auth is supported i.e. adding scopes to old and ...
1
vote
2
answers
282
views
Disable user creation at login with Simple LDAP
I have the simple LDAP module installed and running, and I would like to prevent Drupal from creating a new user after a user authenticates if it does not already exist in Drupal.
I found the ...
0
votes
0
answers
497
views
Hybridauth login not working
I am using hybridauth module for LinkedIn and twitter login. I have installed twitter module and twitter post module for posting node on twitter. After enabling twitter module Linkedin login via ...
1
vote
1
answer
61
views
Multi instance Drupal on single server. Is SSO possible to be implemented?
may I know if we can configure single sign on , on a single server that have 2 Drupal instance running in parallel?
0
votes
1
answer
98
views
LoginToboggan redirect to the same page on Drupal-7
I have a Drupal-7 website and I use LoginToboggan module for login.
Is there a way to override this module or change the settings, in order to redirect users to the same page after successful login, ...
1
vote
0
answers
248
views
HybridAuth Social Login returns from social network to Page Not Found
I installed HybridAuth Social Login module on Drupal 7, and tested it with Facebook, Twitter, Google+ and LinkedIn. Clicking any of these four icons in the Log in form of my site functions to the ...
1
vote
0
answers
130
views
Single Sign on Windows Authentication popup
I enabled SSO on my drupal website.
When a user surfs to my website they got a windows authentication popup to fill in their AD credentials (i work with LDAP).
But how do I pass the credentials ...
1
vote
0
answers
138
views
Drupal CAS redirection after login is failed
I have been working on CAS SSO with drupal 7 and the authentication perfectly works and cas redirect to drupal when I install drupal and CAS in different machine. But when I put both drupal portal and ...
0
votes
1
answer
68
views
Bakery doesn't pre-sync accounts
I want to use the Bakery module to login and synchronize users, but I am not able to synchronize existing accounts. Users that exist only on slave cannot login confirms Bakery doesn't provide pre-sync ...
1
vote
1
answer
433
views
LDAP SSO - User not redirecting to user/login/sso to login the visitor
I have implemented LDAP - Single Sign On (SSO) on my Drupal project. All the settings (testing, connecting with server) is working perfectly fine.
The problem is that when I visit my site, the site ...
0
votes
1
answer
76
views
Error when using LDAP Views within Rules
My objective is to pick a user from an ldap and then create his drupal account.
In order to do this,
1) a user picks a name (dn) from an LDAP server using the LDAP Entry Reference module (which ...
0
votes
1
answer
60
views
Making all REST Server calls to Drupal site as an authenticated user through Services
I am making REST Service calls to my Drupal 7 site to either retrieve or create content.
Is there a way I can make all these calls through one specific authenticated user?
Thanks.
1
vote
1
answer
177
views
Increase security on logon
I am using Logintoboggan module but by chance by playing around with Wireshark packet sniffing tools I can see all login details and passwords when users login/register on my site!
Is there a way to ...
0
votes
1
answer
955
views
How do I use the login for an external application?
Long ago I built a php based application for room reservations which basically ran on its own – outside the website's CMS. It was part of what I would now call a custom made intranet – or "custom-app"....
1
vote
1
answer
144
views
LDAP Module - Notice: Trying to get property of non-object in ldap_authentication_init() appears
I have a site with Drupal 7.41 and LDAP module version 7.x-2.0-beta8. My goal is to connect my drupal site with an Active Directory account.
After I installed LDAP module i saw a error message: ...
0
votes
1
answer
94
views
OAuth expires_in time
I want to add the expires_in time to the database when a user authorizes linkedin to store the token. https://www.drupal.org/project/linkedin
I have added token_expires
$sql = array(
'uid' => ...
2
votes
1
answer
639
views
Correct usage of hook_user_login and hook_user_presave for saving data to user
I have a custom module that syncs LDAP-data to custom user fields (every 24 hours, depending on when the user logs in). Everything seems to be working, but I'm not an expert on PHP and Drupal hooks so ...
1
vote
0
answers
90
views
OpenID Connect Single Sign On handling login block
I am trying to implement an SSO system for my 3 Drupal websites. All the sites are separate domain and not sub-domains.
Here is the problem:
On the client site, client1.com, I click "Log in with ...
3
votes
2
answers
1k
views
User login API for social login from mobile apps
I have installed HybridAuth module for social login (Only Facebook & Google) and It is working fine.
I need the same functionality for mobile apps. Like the user can able to login using the ...
0
votes
2
answers
913
views
Current password required to change password for self-registered users. No password was ever set
I cannot figure out how to validate users through email using drupal.
at admin/config/people/accounts I have Require e-mail verification when a visitor creates an account checked, and under Who can ...
0
votes
1
answer
1k
views
Webservices to create (Register) a new user
I am planning to write client apps which connects to Drupal 7. I like to create new users through the app, have come across some literatures but I am not sure if the approach is secure and also ...
1
vote
2
answers
3k
views
How to redirect particular page after login via social networking site?
In my Drupal site I have placed a link in checkout page which takes to user/login. On successful login it redirects back to checkout page. For this I have used ?destination=checkout in the url. I have ...
1
vote
1
answer
675
views
OAuth2+ OpenID Connect SSO
I am trying to implement the OpenID Connect SSO as outlined in Nik Vahalik’s YouTube video and in Patrick Dawkins’ Tutorial. I have gone step by step through their implementation instructions as well ...
1
vote
0
answers
75
views
LDAP authentication not working
I made a copy of our dev server and gave it a new name and IP,but now I can not login into it. I think the fault is that I can not get LDAP to verify my pwd. Please could somebody point me in the ...
0
votes
0
answers
111
views
disable email activation only for users who registered via hybridauth module
I've faced a problem, I use hybridauth module + original registration module in Drupal 7. And I want to disable email activation for users who registered by hybridauth module(because they use already ...
1
vote
1
answer
147
views
HybridAuth registration
I am using HybridAuth as my login module and I want that user have to register with email and password. How can I do that ?
In the current process, user gets mail only and then sets the password ...
3
votes
0
answers
1k
views
Error opening socket SSL
I am working with a Drupal 7 site locally that we have setup with OAuth2. Logging in works fine on our staging server, our QA server, and another guy's MacBook Pro.
On mine, however, I see an error ...
0
votes
2
answers
271
views
How can I hide the title in my user registration form?
I am using LoginToboggan module. And I want to hide the title.
As you see in first picture "Log in" title is shown, and in second "Create new account" title is shown. How can I hide these titles?
1
vote
0
answers
153
views
How to revoke an Oauth2 refresh token as a Drupal admin?
I am currently working on an app that acts as a mobile client for a service of ours that is built on Drupal 7. Currently I use access tokens and refresh tokens via the Oauth2_server module as a means ...
1
vote
1
answer
212
views
How to build a dynamic user-page from LDAP (Active Directory) and show this page after logged in?
I have Open Atrium 2 with Drupal 7. User are able to login over the active directory using the Lightweight Directory Access Protocol (LDAP) module, which works pretty well.
After login the user ...
0
votes
1
answer
68
views
How to allow an OG group admin to create and add a user to a group?
I have a situation where our D7 site is connected to a LDAP server (with LDAP) module. However, I need a way to allow an Organic groups administrator to add a user (who has not yet logged in) and ...
1
vote
0
answers
65
views
SimpleLDAP and Drupal accounts
I have the Simple LDAP (7.x-1.4) module installed and it works perfectly fine with existing accounts on my LDAP server.
I need to use the read-only connection. In addition I need to create sometimes ...
2
votes
1
answer
331
views
Stop Drupal from redirecting to "Reset Password" on user account activation
I have a Drupal dev site where users register, then get sent an email with a link that they need to click in order to verify the account. The issue is that link directs them to a page with the title ...
6
votes
1
answer
538
views
Automated login with LDAP always returns error
I have successfully setup LDAP module to authenticate users (and create new users). This is done through manual login form. Now I'm trying to enable automated single sign-on, but with no luck.
I ...
0
votes
1
answer
239
views
Is it possible to use mixed LDAP and local Drupal authenticated users on the same site
I have a site in which site editors and administrator need to login using LDAP authentication. However, the site also will have regular authenticated users, who can register for an account directly ...
0
votes
1
answer
1k
views
Redirect user to same page on login
I know there are a couple modules other there that handle login redirects like Login Destination, LoginToboggan, Login Redirect and Rules. However, they all seem to only allow strict URLs. I would ...
1
vote
1
answer
423
views
Making Twitter 1.1 API requests on site with OAuth and Twitter modules
I've setup a Twitter app and placed the appropriate Consumer Key and Consumer Secret strings in the settings of admin/config/services/twitter/settings.
I'm able to make twitter 1 api requests just ...
1
vote
0
answers
564
views
Create user with ldap entry
I have installed LDAP module and configured.
After that walk through admin-> configuration->people->ldap, here I added the server, in authentication I enabled the added server.
Finally in user ...
1
vote
0
answers
89
views
Hybridauth not working fine when rule configured with domain and sub-domain page
I have configured Hybridauth social media module for my drupal. I have one main domain and sub-domain configured with my website. I have configured some rule for redirecting to home page with some ...
0
votes
1
answer
372
views
Drupal + Moodle SingleSignOn logout issues
Does anyone know how to set cookie_domain to use an IP-Address and not a domain name?
I recently put together a SSO solution between Drupal and Moodle. Drupal is acting as the users repository with ...
0
votes
1
answer
161
views
Authentication to LDAP Server
I'm using LDAP module to allow user login through a LDAP Server. This is server configuration:
Server Properties
sid = eng_ldap_server
numeric_sid = 1
name = Eng LDAP Server
status = 1
ldap_type = ...
1
vote
0
answers
44
views
Active Directory Question
I am currently building an intranet site with drupal 7. It is hosted on a Windows 2012 Server R2 with IIS and I am using MSSQL 2012 as a database system. Moreover I have integrated the intranet site ...
0
votes
2
answers
32
views
changing role wen opening a confirmation link but auto login with logintoboggan
We are using logintoboggan to login new users after registration. After the registration the users get the role 'unconfirmed user' with limited permissions. The users need to open the confirmation ...