Questions tagged [authentication-authorization]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
111 views

Oauth_server authenticates but subsequent requests return “True” with 403 Unauthorized status

I have successfully setup Oauth2 in Drupal 7 and I am able to get token from the Oauth2/token endpoint. I need to implement, Implicit Flow (Client-Side Flow) as this endpoint will be used by client-...
2
votes
0answers
286 views

How to implement SSO with Oauth2 to login users from another site?

So, I apologize in advance as I'm only now getting familiar with all the Oauth2 terminology. I have an existing Drupal 7 site with its own active user base. The organization I support has recently ...
2
votes
1answer
774 views

Accessing Drupal REST endpoint using Oauth 2 token

I have successfully installed the Simple OAuth module on my website. I am also able to authenticate to it using Postman. I am getting the access_token and the refresh_token when authenticating. ...
0
votes
1answer
126 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
548 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. ...
2
votes
3answers
408 views

How to securely authenticate content embeded in another site?

I need to embed password protected content to a second domain with an iframe. The content itself is a view which will be displayed on a third party site via an iframe and the content is prepared with ...
0
votes
1answer
769 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
19 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
136 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
0answers
396 views

Basic authentication for external application making requests to Drupal instance

I have a external application that makes requests for content in my Drupal 8 instance. What I want to do is to make sure Drupal is only talking go my external application to stop traffic being spoofed....
0
votes
1answer
184 views

Error: OAUTH2 SERVER LIBRARY Unavailable

I have a website in drupal version 8.3.3 and since I installed oauth2 server module, I get the below error in Admin -> Reports -> Status Report The OAuth2 server library is required for the OAuth2 ...
1
vote
0answers
68 views

Oauth2 server library issues [closed]

In order to install oauth2 server module, I have added oauth2 server library in drupal-8 as instructed in https://www.drupal.org/node/1938218 Now oauth2 library exist in path/to/drupal-8/libraries/...
0
votes
1answer
70 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
966 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.
-1
votes
1answer
88 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
74 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
551 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
674 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
406 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
228 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
829 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
459 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
201 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
227 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 ...
3
votes
0answers
545 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
44 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
104 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
263 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
154 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
66 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
306 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
70 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
970 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
55 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
93 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
42 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
208 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
483 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
54 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
87 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
237 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
120 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 ...