Questions tagged [authentication-authorization]

Use it for the user authentication/authorization on Drupal core or third-party modules.

Filter by
Sorted by
Tagged with
-1
votes
1answer
85 views

How to use token of Hybridauth?

I want to display users' profile data from Hybridauth, so I used "Token Filter" to get the token codes (something like [hybridauth:firstName] ), then I put token_replace in 'user-profile.tpl.php': ...
0
votes
1answer
40 views

Use the same login credentials with different core versions

I have a Drupal 7 site, and I createda new Drupal 8 site. I would like to use the login credential from the Drupal 7 site in the Drupal 8 site. How can I achieve this?
0
votes
1answer
2k views

500 (Service unavailable (with message)) on login or register

Effectively the same as this (Drupal 500 Internal server error on login page) but i am unable to bump or comment so resorting to adding my own question. The site is running Drupal 7.54 php version 7 ...
1
vote
2answers
72 views

Login to drupal with just a number

Is it possible to login to Drupal with just a number? Use case is a kiosk where users have a nfc tag. So my idea was to hide the input field an use the number retrieved from the nfc tag to identify ...
1
vote
0answers
507 views

How to use Simple FB Connect in decoupled Drupal

I'm creating a Drupal 8 website which I need to be able to access via Facebook OAuth. The Simple FB Connect module has solved the signup/login issues quite well. Users can sign up to the website with ...
1
vote
1answer
587 views

Basic Auth working but simple auth not working for create user

I am totally stuck here in Drupal 8 REST API, any help is very appriciate. Problem: I am using Drupal 8.3.x, simple_auth module to generate Auth token for REST. When I try to create user by ...
0
votes
1answer
2k views

Why this message “You are not authorized to access this page.” coming on user edit page?

I am facing a strange behavior today, when I signup via Facebook or twitter and then go to user edit page it show this message: You are not authorized to access this page. Even if try to access ...
1
vote
1answer
350 views

Simplesamlphp behind reverse proxy

I have configured my application and simplesamlphp behind reverse proxy. I have created a test SP But when I am going to test the SP, it redirects to https://web-server-ip/adfs/ls/?SAMLRequest=nZL ...
4
votes
2answers
3k views

How to install oAuth using PHP 7 and PECL OAuth library?

I am [unsucessfully] trying to enable the Twitter module on a Drupal 8 site that is using PHP 7 on ubuntu. The Twitter module requries oAuth to work and oAuth requires the PECL OAuth library. If I ...
1
vote
1answer
194 views

how to add user programatically without interfering with cas module?

I have created a module that bulk create user entities depending on ldap filters and assign selected roles . The problem is the connection with cas is then not working when a user entry has been ...
6
votes
1answer
778 views

Authenticate using OAuth

I'm working on wrapping my mind around decoupled Drupal 8 while using an AngularJS app for the frontend. What I am trying to do is to allow a user to authenticate with my D8 site using their username ...
1
vote
0answers
446 views

Problem Setting up Drupal Site as OAuth Server

I've been going through OAuth2 Server module setup Documentation/Guidelines for almost 2 days now, and also referred with friend who has this working. But unable to get this working properly. I've a ...
1
vote
2answers
185 views

How to correct my rule to update user info on login using HybridAuth?

I'm using Drupal 7.5x and the HybridAuth Social Login module. I am aware a lot of users have done this using Rules and Rules Event HybridAuth login, combined with Set a data value. However no one ...
1
vote
1answer
74 views

Is it possible to authenticate against LDAP server without creating a drupal user account

In D7 I have a section of my site I need to limit to authenticated users, but auth needs to take place against LDAP server, not drupal user base. My users don't have a Drupal account and I am not ...
0
votes
1answer
202 views

Invalid Signature in Services Oauth

When using the Services API with a PUT request, it returns an error saying that the signature is invalid. When working with POST I was getting access denied because the bundle was specified but this ...
0
votes
1answer
2k views

Integration with Single Page Application (React)

I have a specific scenario to integrate a single page application (react based) with drupal (I use version 7) in order to achieve the following: Utilize the CMS capabilities of drupal and provide ...
4
votes
0answers
521 views

CAS Server setup

I have setup a Drupal 8 with CAS configurations - https://dev.cas.local Here is the configuration: Version: 2.0 or higher Hostname dev.cas.local Port 443 URI /cas SSL Verification Verify using web ...
0
votes
2answers
34 views

Request a new password mail without any content inside of the mail.

I got a problem. When I want to request a new password due to password forgotten, the system definitely send a mail to my email address. But, this mail is without any content inside. I check the ...
0
votes
1answer
95 views

Drupal 7 LoginToboggan username or email or custom field

I have a Drupal 7 site and the client wants the user to be able to login using: email or username or a custom_field that's unique to each user. I've scoured for solutions but can't find any. Any ...
3
votes
2answers
3k views

Theming login page--user--login.tpl.php

I'm trying to theme the login user page and it seems that I'm missing something and I can't figure out what it is. here is what I did: I've added this code to my template.php: function ...
0
votes
1answer
229 views

Display thumbnailPhoto from Active Directory - Open atrium and LDAP modelude

I am using Open Atrium for my intranet. I got LDAP module installed, the server is configured, same as User, Authentication, and Authorization. The communication with my Active Directory is successful,...
3
votes
1answer
148 views

Bakery: Why do I get the “Logging out the user with the bad cookie”?

I am attempting a Single Sign On solution using the Bakery module. My problem is each attempt to login results in the following error: Logging out the user with the bad cookie. Those failing ...
0
votes
1answer
64 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
1answer
278 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
1answer
77 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
0answers
69 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
2answers
872 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
1answer
52 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
0answers
88 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
0answers
41 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
2answers
202 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
0answers
475 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
1answer
50 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
1answer
84 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
0answers
228 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
0answers
119 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
0answers
127 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
1answer
63 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
1answer
356 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
1answer
60 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
1answer
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
1answer
126 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 ...
1
vote
1answer
140 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
1answer
67 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
1answer
342 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
0answers
79 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 ...
2
votes
2answers
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
2answers
576 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
1answer
927 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
1answer
362 views

Hybridauth facebook and google login not works in live server

I am using the HybridAuth Social Login for social media login for my website. The login works in my local server but the user profile picture is not fetched. But in live server nothing works, it just ...