Newest login Questions

Q&A for professional and enthusiast programmers

Why is login failing for Apache FTPSClient?

I am trying to connect to an FTPS site using Apache Commons FTPSClient like so.... def ftpsClient = new FTPSClient() ftpsClient.connect('9.14.113.212') def reply = ftpsClient.getReplyCode(); ...

Login and register PHP forms, one submit working one not

I have two PHP forms, both with submit buttons with different values. The register one works fine, queries the database properly and brings up errors when someone inputs something incorrectly. However ...

passport-jwt how to know if user is logged in

i'm using passport + passport-jwt for a restful API authentication/authorisation without a session ofc. I have a login route that will verify the user identity and then assign's him a token that ...

How to use Keyczar for login and signup in Android

I'm developing an Android app where is needed login/signup authentication at first(or other particular events) launch. I have read this article, and figured out that the best thing to do is to use the ...

403 - Forbidden: Access is denied in Kentico

I am getting this error : 403 - Forbidden: Access is denied. While I trying to login to admin panel of kentico 10 using any users in the database. I was synchronising the pages using staging ...

check if a key belong to one or another child in firebase

I have a login and inside the login I need to check if the user belong to "Administrador" or "Chofer"(childs of firbase database tree) in order know wich screen I´m going to open, I have the following ...

Java button to Icon [closed]

So i was trying to make a login interface, but i wanted to make something more fancy than they usual, for now my interface looks like this : https://i.gyazo.com/ca8f77b58a24ad05a19b4aea42f17b32.png ...

linkedin login returning 404 when trying to retrieve profile information

I have an app on linkedin that uses the login api. It is a web app that makes use of go and the goth authentication library. Up until a few days ago my app was authenticating users fine. Now it ...

Symfony3: OAuth2 Token after form login with FOSUserBundle

i'm using FOSUserBundle for a traditional login form on a Symfony3 project. Few days ago i've also configured FOSRestBundle and FOSOAuthServerBundle so i can serve Rest APIs with OAuth2 authentication....

How can I force the user login before go to any where in my application?

I'm working on the asp.net mvc5 project, my problem is forcing the user login then they can go anything on my site. I'm using Session to check user login or not (I'm not using Identity or ...

PHP login form: help needed [closed]

SO I have coded a php login form for my website. The connection file runs fine and the page is connected to my DB. However for some reason the file wont run on my server because of a PHP error. I am ...

Keycloak logout request does not log out user

I am currently working on a small project using keycloak 2.5.0 I've already set up the user login and i'm now trying to implement a page wide logout button. As the documentation states, is simply ...

share login between two different websites

So I am having two different websites that use database sessions for login both have the same application name but for some reason I can't maintain login when I redirect from website A to website B ...

Unable to select different account on google login for android

I have implemented Google Signing for Android app. The user can successfully login from the Google Login Button. This screen appears while selecting a Social Account : 1 So now the user has logged ...

phpbb3 external login with curl

I have created an extension for my website. It should log in user to forum after he has logged in to the website. User session was created successfully (checked in database), but user still not ...

Adding a login page in wordpress website

I want to add a login page on my wordpress website. Secondly, when i login in my site through admin username and password , it should give me more permitted actions for the site. Please help me ...

Error in PHP Login Code using mysql database

I have this Php Code for login checking. But When It succeesfully matches userid and password, it is OK. But when user name and password does not match in database, then it is only printing: In ...

Angular 2 - Event from service to component at same level

I have an Authentication service that emits an event. When user logs in (via a LoginComponent), nav bar has to be updated (NavBarComponent) . These components are at the same level First I tried to ...

Android log in error [closed]

the problem is that I keep getting "incorrect details" message written in php script. I don't know why is this failing here is MainActivity.java file for log in page package alsaad.layla.ghgf; ...

Nodejs - Checking for empty object from MongoDB and parsing it

Im trying to implement a simple login mechanism from NodeJS(using ExpressJS) and MongoDB. Im using MongoJS for the DB connectivity. I am using the $and: to see if the fields match inside the ...

Remember me auto login with JSF + JAAS

I am trying to add remember me functionality to my app, but for some reason the HttpServletRequest.login() is throwing a ServletException: javax.servlet.ServletException: Login failed at com....

Php & C# Register login

Hello I'm making a register/login system in php. I know how to make it, and I want to store safely the password with crypt or another function. The problem is how I do login in C#? I want to say how ...

preg match for registration script php

Im trying to do some preg match to make my script more secure, but whatever i type in username/realname i get error... where am i going wrong here? $unpreg = $_POST["username"]; $...

Logging in using Python's Requests

I am attempting to log in to a website using Requests and seem to be hitting a wall. Any advice would be appreciated. I'm attempting to log in to economist.com (no reason, just something I have a ...

Facebook Login with button not requesting all needed read permissions

In my iOS app, I use FBSDKLoginButton to login user and request 4 permissions using the following code: //create facebook login button let fbLoginButton = FBSDKLoginButton(frame: ...

Can't seem to login

I've been spending a few hours trying to understand sessions and I can't seem to get logged in. I hope someone can tell me what I'm doing wrong. Application Controller protect_from_forgery with: :...

How to use the header() function with POST? [duplicate]

I've been trying to create a simple login script, but for some reason the header() function has not been working. For example, consider the below code: <form method="POST"> <input type="...

How to Verify the mobile number from my app and send SMS or OTP using Swift code

In my page i have list of documents with download option , if the user click download option , send OTP to his mobile number ,then verify and allow to download

Android - Generate profile page upon registration in Android Studio [on hold]

I will try to make my question the shorter that I can : I have made a login/regitration app in Android Studio, but I would like to create an app which will generate automatically a page for each ...

currentUser is null in [FIRAuth auth]

I use google signing in as the login. I want to get the X-FIREBASE-ID-TOKEN which is user id token from the client to put in to a chat api. Google login is working perfectly and when I search on ...

Interview Q: convert table login_log to last_login

This is a question in my interviews. In our system, every login event is logged into the login_log table. It mainly contains 3 columns: user_id login_time login_ip We have 36,000 users now and each ...

Only echo if user is admin PHP

I'm currently trying to learn PHP, which is difficult. I'm trying to make my own login system (CMS), however I'm encountering some problems during this process. I have been able to create a login ...

Saving login values and restoring them in subsequent uses

I am using this API https://github.com/LevPasha/Instagram-API-python/ Which helps me automate some features of Instagram. I am having problems keeping me logged in. during its frequent runs. how can ...

php curl login on website with different accounts

I've made a php script to login to a website. The script works fine but the problem is that I sometimes have to login on the same website with differents accounts. If I post the second login, the ...

Unable to sign up a new parse user

I have difficulty in signing up a new parse user. The code can be compiled and ran. However, no user is being signed up on Parse and the error shown 'sign up unsuccessfully'. Below is the code: ...

Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result when I have 2 parameters

So I have this error : Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, string given in C:\wamp\www\Foredeck\login.php on line 101 . I did some research on internet but ...

Wordpress wp-admin Could not retrieve data error

If I go to my Wordpress website everything is fine but if I want to login in wp-admin. I get an error saying "Could not retrieve data" in a blank page. I already tried to delete any recently ...

Android AccountManager adds account, but dissapears after

Recenlty i looked into making a single account for multiple apps. So i used the android AccountManager for it. I set all the correct permissions in the manifest, added an authenticator.xml, created ...

how to create link between android and spring for social login authentication

we are building an android app and website (back end server) using spring, we are stuck in social login authentication for both, individually both the logins are working as in we are getting the ...

Login Service in AEM and how is it used?

What is Login Service in AEM? When and how is it used? What is a system user? Why can the admin user not be used in Login Service anymore? What is User Mapping?

How do I generate a list of one-time passwords?

I am currently working on a website for which I would need to create a password-protected section. The passwords should be single-use only, turning unusable after being entered successfully. OTP ...

How can i login login to Broadsoft [closed]

I have a login problem with Broadsoft systeem. I want to get all read and unread voicemail informations but first I must login to broarsoft system. Which Webapi url can I use for login to Broadsoft?...

how to create login using codeigniter

i have trouble when i create a login using codeigniter. this is what the problem shows A PHP Error was encountered Severity: Warning Message: ini_set(): A session is active. You cannot ...

First login not work, but second login is work

I'm trying to learn MVC coding, but I have a last small problem. First login not work, but second login is work. It everytime works like that. My controller codes: public ActionResult Login() { ...

Login website not working in microsoft edge

I have a website that works fine in most browsers but when I try login in at first there is no problem, I can navigate between several questionnaires, but when I click to start one, the form ...

Load different data depending on user login in Shiny App

I am builidng an app that depending on the user loged I want to load one source of data or another. I was able to build the app creating the login page and to load different pages depending on the ...

Facebook Login Button Not Working in Android Upper 5.0

I have a problem with login facebook in android. I am slightly new in android facebook sdk. In my emulator facebook login works fine but in real phone it does not work. Also I tried 7.0 it also makes ...

Flash.alert not working in Ruby on Rails

I'm trying to have an alert pop-up when the user fails to login with the incorrect credentials. The login won't go through but the alert doesn't show up. This is the code that I have in my view: <...

Django: Login banner in my site [on hold]

I am coding my first django site. I'd like to include a login banner on my whole site that will be turned off in case user is authenticated and logged in. For instance, if I connect to /video url, ...

Sign up detecting registred users php

im working on a login/sign up system to my website i have this little issue where the app doesnt reconize if the user is already registred or if it s not <?php // including $conn the connextion ...
Translating... 0%