Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [authentication]

a module that enables social media login authentication through the HybridAuth library.

0
votes
0answers
16 views

Migration with SOAP basic auth

I try to create a migration from a webservice but i can't set the authentication... In my YAML, i have this : source: plugin: url data_fetcher_plugin: http data_parser_plugin: soap ...
0
votes
0answers
25 views

LDAP Authentication without storing in Drupal

I'm new to Drupal and would like to authenticate with my LDAP server. I can connect them and I can connect with a user in my directory. However, I would like that when I log in, the user should not be ...
0
votes
1answer
38 views

REST login problem

I'm trying to log in to drupal8 via api rest using postman. POST: https://example.com/user/login?_format=json Content-type: application/json { "name": "admin", "pass": "password" } The problem is ...
0
votes
1answer
11 views

LDAP SSO does not authenticate user on homepage

I have configured ldap sso and it is working so far for all Url paths except for the homepage. I get authenticated on /user/login/sso and I get authenticated on /whatsoever but I don't get ...
0
votes
1answer
36 views

Custom Access check for module route

I'm working on module that should behave as API endpoint. I created Controller which handler POST & GET requests from external system, but I need to add user authentication so only authenticated ...
0
votes
0answers
36 views

How do I find the lost administrator login credentials?

How do I find the lost administrator login credentials? I have deployed locally an old Drupal 7 website and I can't find the administrator login credentials since Windows had crashed 3 years ago.
0
votes
0answers
45 views

drupal_http_request as authenticated user during cron

I have a rule set up that runs during cron. Part of that rule is an action that is supposed to save a PDF (via Entity Print which only authenticated users can access) to my server. It works fine when ...
0
votes
0answers
97 views

What do I need to do to successfully enable Facebook login for my site?

I'm trying to setup Facebook login integration for my Drupal site using the HybridAuth Social login module. It is not working with "Use Strict Mode for Redirect URIs" enabled and I am failing to ...
0
votes
1answer
236 views

User login through JSON request returning HTML instead of JSON

I am using Drupal 8.6.4 http://example.org/user/login?_format=json When I try to submit a post request, it returns HTML page instead of JSON response. I am sending headers: Content-Type: ...
0
votes
1answer
33 views

Trouble redirecting users after implementing LDAP

We had a feature on our site where we redirected users with certain roles to a particular landing page upon logging in. In a custom module, we implemented hook_user_login(\Drupal\user\UserInterface $...
0
votes
0answers
20 views

Azure AD role mapping

I intend to use openid_connect_windows_aad which connects correctly to AAD and I can get user claims, however I miss the role mapping feature something similar to ldap module. Has this feature been ...
0
votes
1answer
23 views

LDAP Feeds example not importing new users - Undefined index: count in FeedsLdapEntryParser

I followed the LDAP Feeds example from the documentation and the query test returns the user fields just fine, but after launching the cron job manually I get "There are no new users." + notice: "...
0
votes
1answer
31 views

Module ldap_sso lost when updating module to the new version

I am in a process of updating the drupal core and some of the modules (quite deactualized). One of them is ldap module, on this server I have no way to update through the drupal administration page, ...
0
votes
1answer
36 views

Open Id Connect SSO on cross platform sites

I have 3 sites(all were sub domain sites) Server(id.test.com) - .NET Client1(client1.test.com) - Drupal Client2(client2.test.com) - .NET Am using OpenId Connect for login. My login & logout ...
0
votes
1answer
263 views

Sign out not working properly in OpenID Connect

I have integrated OpenID Connect(Generic), where my Signin was successful(Redirects to destination server, provided credentials, redirect to drupal & authenticated). While i make Sign out, it ...
0
votes
1answer
93 views

How to verify a token in the url of a drupal 7 site against an external web service and skip the login form all together?

Context We have this JSON web service GET https://api.my-domain.com/accounts/me (and a bunch of other endpoints). It takes a token in the header. When that token is valid it will return { "email": ...
1
vote
0answers
457 views

How do I configure a site as SSO provider with Salesforce as IdP?

I need allow users to log in on a Drupal site using their Salesforce IDs. I understand that the Salesforce site will need to be configured as an Identity Provider and will provide a SAML certificate. ...
0
votes
1answer
490 views

Help with LDAP module for user authentication in Drupal 8.3.7

I just installed Drupal 8.3.7 via composer and am trying to get user logins to work against our LDAP server. I added and enabled the following modules: We are using ldaps on port 636 rather than ...
0
votes
1answer
15 views

Saving 'sub' from Identity Provider

I need to associate sub, which is received as part of $userinfo in openid_connect_save_userinfo, but I don't see it as part of the claim options. I also don't see that it's stored elsewhere. I am ...
0
votes
1answer
98 views

Is that possible to single sign-on with completely different domains?

we have multilingual Drupal 7 site. Swedish Domain : www.swedish.com English Domain : www.english.com admin/config/regional/language looks like screenshot. No Domain access is used. I have ...
0
votes
1answer
60 views

Are there any module options or techniques to authenticate through OpenAM on Drupal 8?

I see that there is an OpenAM module for Drupal 7, but I do not see one for 8. Is there an option for this?
1
vote
1answer
782 views

Import users from LDAP

I want to import user accounts to my Drupal site via the LDAP server. How do I do that? I installed LDAP feeds, but I don't understand how it works. I have LDAP query installed and working.
0
votes
1answer
79 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
1k 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
69 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 ...
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
321 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 ...
1
vote
1answer
164 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 ...
1
vote
0answers
412 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
184 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
72 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
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
483 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
91 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
2k 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
221 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
146 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
61 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
264 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
76 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
1answer
40 views

LDAP configure links are not working [closed]

LDAP module's configure links are not working, when I try to access this URL admin/config/people/ldap/authentication I am seeing admin/config/people page.
1
vote
0answers
64 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
807 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
82 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
2answers
200 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
448 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
49 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?