Category "authentication"

Spring boot security, always redirects to login page, if navigate through address bar

I have a react project, and the security works fine untill I navigate within page - i.e. clicking buttons etc. But, if I refresh page, or input url directly int

vbscript - SQL Windows Authentication - different user

I want to read data from an SQL Database in my VBS Script. My problem: I need to logon with Windows Authentication and not with an SQL Account. But I cannot use

password protect prometheus access [closed]

I am using prometheus to graph stats on my server. The problem is that that annybody can access the graphs from http://my.Ip.Adress:port/index

WebDAV return 401 - How to authenticate?

I have a problem with WebDAV. I have to get a list of files. I have this request: <?xml version="1.0"?> <D:searchrequest xmlns:D = "DAV:"> <D:sq

Laravel 9: change table and fields for authentication and login

I have changed the table and the Laravel Breeze fields for authentication to some custom ones. It looks fine but in AuthenticatedSessionController.php while I g

What is the default user and password for elasticsearch?

I have installed Elastic with Docker: docker run -p 9200:9200 \ -p 9300:9300 \ -e "discovery.type=single-node" \ docker.elast

Rails authentication strategy

Hope this is not too broad but after a lot of googling I am not sure where to start. I am looking for a introductory/noob overview to help me get started on bui

Testing login flow with RSpec in Rails app

I'm using RSpec to test controller behavior in rails. One of the expectations I have is the following scenario: User attempts to access a protected (requires l

Laravel 5.5 change unauthenticated login redirect url

In Laravel < 5.5 I could change this file app/Exceptions/Handler to change the unauthenticated user redirect url: protected function unauthenticated($reques

Rails: make authentication to swagger API via devise or other

My goal is log in to Swagger API to get access to endpoints. With auth token in future. I tryed to put Devise line in ApplicationController: before_action :au

How to Force Postgresql User Login with Password

All I did is in my local machine(Mac OS). After installing the postgresql, I created a user named poet with password, then created a database named poems and th

What is the Diameter protocol?

I have 3 simple questions. What is the Diameter protocol in simple explanation? Why is it used? How can one use it? I have searched the net for a practical exp

Laravel actingAs guest

Laravel provides a way to authenticate a given user during HTTP testing with $this->actingAs($user); Is there a way to unauthenticate that $user within t

Log a user out of a website when they put their computer to sleep

This is a bizarre one. We have a Laravel website, and on said site we have a timer per user, where they get 15 minutes of being inactive before being booted. W

Prevent Browsers not to remember password

We have an application with a login screen which has input field text and password. What I am trying to achive here is; Prevent browsers to ask if, user wants

Authentication in Jersey [closed]

I want to implement authentication for my Jersey0based server/client REST but I'm not sure how exactly to lay out the code. Basically for ev

Laravel no logout option from menu after successfull login

Hope anyone else had the same issue and was able to solve this problem. I installed a fresh Laravel project and used php artisan make:auth to get the basic auth

.NET core - Configure JWT Authentication at runtime

I have an ASP.NET Core 2 Web Application and I am using the [Authorize] attribute on the controllers that require authentication. As authentication mechanism, I

Angular google authentication with firebase

I want to create simple login authentication with google using firebase. I have installed angular CLI: 13.1.4, firebase, firebase: 10.1.1 & @angular/fire

How to add roles to rails app from console? Cancan, Devise

I can create user already, but how add roles dynamically? from console or with admin rules? Devise, CanCan. I am new at Rails, but if you will propose me some i