Most voted "authorization" questions
18 questions
Sort by count of
-
4
votes1
answer9877
viewsPut Authorization: Basic in the api
I am creating an API as already said, and I need to use the Authorization: Basic KEY to send login and password via header. Unfortunately I am not aware header('Authorization: Basic…
-
4
votes2
answers169
viewsHow to capture the Exception generated by a method whose access is not authorized by a particular user profile
How can I send the user a message that the operation he wants to do is not authorized? I have in my View a button that calls a Javascript function <button id="btninicio"…
-
2
votes1
answer1818
viewsAuthorization Basic HTTRIO SPC / Delphi
Good morning to all, I wonder if anyone could help me in the following situation: I am doing an integration with the SPC/CDL web service, which requires a basic authentication (HTTP header). I need…
-
2
votes0
answers79
viewsHow to create a custom Authorizeattribute in ASP.NET Core?
I need only a few endpoints in my API to use a different token, because they will be called by a less secure application and I don’t want that other token to have access to every application equal…
-
1
votes1
answer116
viewsUser permissions calling all rules at each access
I have a MyRoleProvider implemented and access works normal, if the logged-in user does not have the rule registered he does not allow access. The problem is that at each access to an action with…
-
1
votes1
answer86
viewsHow to set up an Authentication and Authorization Server?
How to set up an authentication and authorization server like Google, by Cookie, and then be able to make available to ASP.NET MVC applications of the same group of web applications with the same…
-
1
votes1
answer56
viewsRails Cancancan - Doubt about table of Roles
Good afternoon, I have the following models: User.Rb class User < ApplicationRecord # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and…
-
1
votes1
answer153
viewsManage or customize user session in Spring-managed Javase app
I would like to know how to manage or customize the user session in the Javase application (GUI / Desktop / SWING / thinClient) managed by Springsecurity?! For example, how could I set up Timeout in…
swing spring spring-security desktop-application authorizationasked 7 years, 1 month ago Ice-Man 71 -
1
votes1
answer44
viewsDoubt on authentication/authorization based on access profiles with Webapi Asp.Net Core MVC
I have here a Windows Forms + Sybase application that has an authentication scheme based on access profiles. The diagram of the database is as follows: On the table Permission we have descriptions…
-
0
votes1
answer257
viewsAuthorization via token with Angularjs
I saw that to set the 'Authorization' field of the header with Angular is used: $http.defaults.headers.common.Authorization = "Bearer " + token or $http.defaults.headers.common.Authorization =…
-
0
votes2
answers577
viewsPass Token by header to each Angularjs request (Authorization )
I have the file interface-Factory.js which is my factory app.factory('interfaceAPI', function ($http) { var _getInterface = function () { return $http.get("/api/interfaceapi/getall"); }; var…
-
0
votes2
answers710
viewsDo I need to use a middleware auth on the controller if I use Gates from Laravel?
It’s safe to remove an authentication middleware from a controller if I’ve already set a Gate on Laravel? I did so: In Authserviceprovider.php Gate::define( 'admin', function ( $user ) { return…
-
0
votes1
answer161
viewsThe server does not return any response when accessing the route
[SOLUTION] It was necessary for me to configure the Postman Authorization tab and select the Type Bearer Token option and pass the token When trying to access a route in my API using the POST method…
-
0
votes1
answer77
viewsCakephp 3 Auth Component Does Not Work
I’m having problems with the cake authorization component, I’ve done several tests and it’s the only component that isn’t working, I’ve checked the bank authorization, and I have authorization…
-
0
votes2
answers198
viewsLaravel Authorization for Multi Authentication
I have an ACL app for Laravel where I have two sessions(Guards), one for users and another to admins. The configuration of Guards auth.php file looks like this: 'guards' => [ 'web' => […
-
0
votes0
answers16
viewsHow to correctly pass an authorization token in the header using Javascript and the Papa Parse library?
I’m using the library Papa Parse in Javascript to download some dataset in CSV format and then read the data. It was working perfectly until they implemented a token authentication in the database.…
-
-1
votes1
answer36
viewsLinkedin Angular 7 authorization api and route
I’m having a problem developing a login screen using Angular 7 and the Linkedin API. Backend is written in C#, and the problem is: Linkedin requires a callback URL, and as far as I was able to…
-
-1
votes1
answer44
viewsI cannot authorize my HTTP methods with the token generated by Bearer and Jwt
Good night, I am implementing authentication and authorization in my Web API in Asp.net core 5.0. Yesterday, I had success with some authorizations. However, when I went to try to finish…