Questions tagged [login]

1

votes
1

answer
687

Views

What does netloc mean?

I'm learning to make login function with Flask-login, and I'm facing with this code in my tutorial that I'm following: @app.route('/login', methods = ['GET', 'POST']) def login(): if current_user.is_authenticated: return redirect(url_for('index')) form = LoginForm() if form.validate_on_submit(): use...
Harvest 1018
1

votes
2

answer
3.1k

Views

How to return an error if UserName Password does not match in MVC 4?

i am new to MVC, i want to create a simple Login Control. I have write the below code in controller: public ActionResult LoginControl(String UserName, String Password) { string result = ''; if (UserName == 'ram' && Password == 'ram123') { result = '1'; } if (result == '1') { return View('LoginContro...
Ram
1

votes
2

answer
22k

Views

How to make a login system in Javascript?

I am trying to make a simple login system in javascript. The code should be for multiple users e.g: user: love pass: cat, user2: mom pass2: love etc. I need the code to redirect users to certain pages e.g. if username textbox has the text LOVE and pass is cat then user should be redirected to page1...
RockSolid
0

votes
0

answer
7

Views

OAuth login with facebook?

My App is example.com and want to use facebook(FB) login for authentication/authorization. Per my finding on google, FB uses OAuth2 here. I have one question here on the flow First will register on FB with my webapplication and returning url as example.com. It will generate appId(public key) and app...
user3198603
0

votes
2

answer
25

Views

How to create multiple users registration and login activity in an android?

I've made registration and login activity in an android using shared preferences. User is able to registered and logged in successfully. But my problem is when new user is registered, it delete the previous user's registration details. Here is my registration page: public class Registration extend...
SsssZ
1

votes
2

answer
2k

Views

username parameter is empty in loadUserByUsername(String username) - spring boot

This is my UserDetailService: public class StockUserDetailService implements UserDetailsService { @Autowired private UserRepository userRepository; private static final Logger logger = Logger.getLogger(StockUserDetailService.class); @Override public UserDetails loadUserByUsername(String username) th...
Ashwin
1

votes
3

answer
63

Views

Laravel5.7 routing using Route:match not working

I'm using Laravel 5.7 I'm trying to route my function for get and post. I want to load a view and post a form. As I have studied Route::match(['GET','POST'], '/', [email protected]); Route::any('/', [email protected]);` one of these should work. But its not working for me,is there any other wa...
Sania Ishaq
0

votes
0

answer
13

Views

Unity Facebook login not works on Facebook App in the Android device

So i implemented Facebook SDK in my project, here the problem is FBlogin not works when i have facebook app in my android device. Please my and my team stuck in this stuff. For more details please replay to this post.
1

votes
0

answer
52

Views

What links an account whenever you sign in using Facebook or Google

So here's my question. Say you have a Gmail and Facebook and they both use the same email. Now say you login an app using Facebook. Say you log out and log back in using Google. It should link to the same account from what I've seen. But what happens if you were to change your Facebook primary email...
huey77
1

votes
1

answer
432

Views

Android Gradle 3 facebook-login:4.29.0 dex merge error Program type already present

Hey I am trying to add the newest version of facebook-login:4.29.0 to my app. In doing so I updated to Gradle 3. I cannot resolve this dex merge. It only happens if I include the facebook-login library. Maybe I did something with the gradle 3 migration wrong? I have a few other facebook libraries th...
StarWind0
1

votes
0

answer
132

Views

JHipster: Login with email + password. Issue with cache

I have a problem with the cache when I login with email/password in my dev enviroment of a JHipster project. Here are the steps: In a new fresh project, I login with [email protected] user Go to account->settings and change the email to [email protected] and save the changes I logout and then I can login...
Paul
1

votes
0

answer
148

Views

How do you use a Facebook token to create a user in a Cognito User Pool, as depicted in AWS demo slides?

Amazon Web Services provided the following slides to explain some of the features of AWS Cognito. The slide below purports to show that you can get a Facebook token from Facebook login, and use that token to authenticate a user (or presumably create a new user) in a Cognito User Pool, which will in...
CodyBugstein
1

votes
1

answer
541

Views

Get the Login and Register Form side by side in Woocommerce

Hi I'm using WooCommerce for my Wordpress website. The My-Account Page shows a Login and Register Form, if you are not logged in. For some reason the register form is under the login form. I tried this CSS: .woocommerce-account .col-1, .woocommerce-account .col-2 { width: 10%; float: left !important...
yannistrom
1

votes
1

answer
894

Views

Spring Boot Login Redirect 302 Losing HTTPS

Upon login attempt in a SpringBoot app using custom login page, the webapp automatically switches from HTTPS to HTTP. I want to allow both, but it shouldn't switch out of HTTPS automatically if it was already there. See Chrome log here: -- General Request URL:https://example.com/login Request Meth...
abeauchamp
1

votes
0

answer
196

Views

Can one application have two facebook app id with two different fb account?

I have published one application which uses facebook login. I have created facebook developer account and get app id for my application and it was working fine. Its been a year I have released my application on google play. But now I am not able to access my facebook account. I am facing this error...
Krishna
1

votes
1

answer
99

Views

Last Pass chrome extension creating a div that blocks clicks

When our users have Last Pass installed, after they log in they see a big div with this markup and styles: Users are unable to click anything in our website when using Last Pass, has anyone found a solution for this issue?
Yasu Flores
1

votes
1

answer
3.5k

Views

How to create new user for SQL Server 2017 Management Studio

I tried this:- -- Creates the login dev with password 'Iamtesting123'. CREATE LOGIN dev1 WITH PASSWORD = 'Iamtesting123'; GO -- Creates a database user for the login created above. CREATE USER dev1 FOR LOGIN dev1; GO Those commands completed successfully. But then I tried to login by using...
masiboo
1

votes
2

answer
1.7k

Views

Laravel 5.5 change password encryption on login

I want to change the Laravel's default password encyption. I want to use my own. For the registration I know how I can do it: in the RegisterController I can change the bcrypt function /** * Create a new user instance after a valid registration. * * @param array $data * @return \App\User */ protec...
TheAngelM97
1

votes
0

answer
785

Views

Firebase facebook signInWithRedirect not redirecting to specified page on login success

I am using Firebase's facebook signInWithRedirect but can't figure out why my application won't navigate to the specific page on redirect and instead it just returns back to the home page. I followed the steps on https://firebase.google.com/docs/auth/web/facebook-login and believe I have setup every...
user3892254
1

votes
0

answer
48

Views

Android app doesn't login by error: org/postgresql/jdbc/TimestampUtils

when I try to do login in my android app occurs the following error: java.lang.VerifyError: org/postgresql/jdbc/TimestampUtils at org.postgresql.jdbc.PgConnection.(PgConnection.java:279) at org.postgresql.Driver.makeConnection(Driver.java:450) at org.postgresql.Driver.connect(Driver.java:252) at jav...
Mk14
1

votes
1

answer
187

Views

Scrap a website with hidden parameters using the requests library

So I am trying to scrap the following webpage which protected by a login page. None the less when I run the code it keeps redirecting me to the login page. I think this might be due to the fact that the login page has a hidden parameter, though I don't really know how to integrate it into my payload...
Fozoro
1

votes
0

answer
193

Views

Saving username/password in UIWebView for auto login

I am working on a simple iOS app for a website. The app uses UIWebView to load the login page of the website. The first time a user loads the page, they need to login. I want to store the username & password so that the next time the user uses the app, it logs in automatically. I have posted my code...
Abdhu Bafadhal
1

votes
0

answer
243

Views

JHipster show on start the login dialog instead the home page with checking of the rights

i'm using the JHipster framework for make angular app with java spring boot backend, now i have integrate my own angular app with the defaults 'administrator' features of jhipster, it's work fine and now i'm tring to make some customization of the angular frontend. I'm found some difficulty to make...
4535992
1

votes
1

answer
1.1k

Views

django override auth login method

I want to override login function in __init__.py of django.contrib.auth I did steps: urls.py url(r'^login/$', 'my_login'), views.py from django.contrib import auth def login(request, user, backend=None): # do some stuff settings.py INSTALLED_APPS = [ #'django.contrib.auth', 'my_auth_app' ] But I fee...
Malenkymuk
1

votes
1

answer
47

Views

How do I add a parameter to the MVC 5 Account Login action?

The login action in the Account controller in MVC takes two parameters: public async Task Login(LoginViewModel model, string returnUrl) { LoginStatus status = new LoginStatus(); if (!ModelState.IsValid) { return View(model); } .... I want to add one. Like... public async Task Login(LoginViewModel...
Robert
1

votes
1

answer
317

Views

YouTube Reporting API using Service Account

Following Google's documentation you should be able to use the YouTube Reporting API without user authentication by using a Service Account. Currently I have a very simple sample that should give me a list of available Jobs, could be empty though. But I get a 403 permission denied. Request: $client...
Martin van Dam
1

votes
0

answer
370

Views

Facebook logout through react-facebook-login

I can store the login information using local storage. When user logout I clean the local storage and update autoLoad={false}. It's working for me. But I am looking for a better way so is there any way to logout using react-facebook-login?
Rubel hasan
1

votes
2

answer
379

Views

htmlunit input submit returns same page

I am trying to do login to my user on a web where login button is an input of type submit. I tried different strategies to fill the login page with my login data and clicking the button, but I ALWAYS get the login page againt as a return from click(). I never get the page that appears where you log...
Javier
1

votes
0

answer
53

Views

Facebook login in android and IOS and server side, which way is best?

I want to integrate Facebook login from my android and IOS app, and there is Nodejs server at backed, As I know we can do FB login in two ways 1. Server side(by providing FB login API's through API server) 2. Mobile side, by directly using Fb client libraries for Android and IOS so my question is...
Sudhakar Reddy
1

votes
1

answer
96

Views

how to login with python

I'd like to log in to a platform where the HTML is I tried several different requests, but none of them worked. The last one was def rein ( mypage , email , pw ) : payload = { 'action' : 'login' , 'email' : email , 'password' : pw } myp = mypage + '/?page=login' with requests.session ( ) as c : c.po...
Nepumuk
1

votes
0

answer
5.2k

Views

Chrome Extension and Identity API: Upon login attempt to Facebook user is asked for username + password although he is already logged on FB

I'm developing a Chrome Extension and use Chrome Identity API's to perform Facebook Oauth 2.0 authentication. Personally, I'm testing this on the latest Chrome version (64). In principal, the login flow works fine. However, I am annoyed that Chrome presents a new user a Facebook login window with em...
Steve06
1

votes
0

answer
86

Views
1

votes
1

answer
261

Views

mod_wsgi keeps restarting flask app [duplicate]

This question already has an answer here: Why not generate the secret key every time Flask starts? 1 answer From Flask's documentation, I have the following in my config: ServerName example.com WSGIDaemonProcess yourapplication user=user1 group=group1 threads=5 WSGIScriptAlias / /var/www/yourapplic...
Jimmy
1

votes
2

answer
46

Views

is it possible to enable the app automatically when mac is powred on

I need help in launching the os x Application automatically when user sign in as shown in above figure enable tick mark using programatically
Siva Prasad
1

votes
1

answer
73

Views

Error: invalid hash key after one successful login with facebook

I am trying to do login with facebook in my app and want profile data. For that I want to generate key programatically but it gives me error. I done all other things as given here but all these things are not working for me and the code through which I want to generate key which gives me error. I ca...
mayuresh patil
1

votes
2

answer
411

Views

How to get login username with AWS Mobile-hub SDK

I've been working for a while on the login part of my app. I'm trying to use ASW Mobile Hub for this matter. I found a way to get it work with the different providers I need: my own user pool, FB and Google. The problem is that I've been searching here and all over the AWS documentation trying to fi...
Alex Ra
1

votes
0

answer
133

Views

C# error Win32Exception was unhandled - Logon failure: unknown user name or bad password

I am attempting to launch a .exe file using different user credentials. It keeps returning an 'unknown user name or bad password' error but I have verified that these are correct. Is there any way to debug this further or anything wrong with my code? using System.Diagnostics; using System.Security;...
Justin Glass
1

votes
0

answer
36

Views

Embed information in Windows 10 Login Screen

Is it possible to embed additional information like websites or views of apps in the windows 10 logon screen - so the user can always see this information on login? (e.g. actual messages or dashboard information)?
Konrad
1

votes
0

answer
195

Views

Adding an additional authentication check to Superset/Flask

I am trying to use Keycloak as a single sign on authentication provider for my superset environment. Superset uses flask-appbuilder.security and flask-login. I previously posted a question about it here: Using OpenID/Keycloak with Superset A problem I've encountered since then is that, when a user l...
thijsfranck
1

votes
0

answer
24

Views

What is the right approach to save device/app/browser name during login?

As you know Facebook saves login sessions and we can see them in settings where we've logged in. Now, they show IP address, Phone name (if logged in with phone) and App name in the phone and Browser name in case we use browser. Now, I want to store these info for my site using PHP and JavaScript. On...
Rahul

View additional questions