Questions tagged [restful-authentication]

Questions about authentication for RESTful services.

restful-authentication
Filter by
Sorted by
Tagged with
-1 votes
0 answers
43 views

Semmless password reset management for web services

We have Integration between applications where authentication is controlled by the applicaiton which is providing the service. The provider service would want to change the password at a predefined ...
lives's user avatar
  • 1,193
-1 votes
0 answers
21 views

Web API works with Windows authentication enabled when consumed via Swagger but throws an unauthorized issue when accessed through web app

Im trying to consume asp.net web api(Rest) through my webapp. It throws unauthorized error. Only windows authentication is enabled in Webapi. Note :- Both api and web app is built on .net48. WebAPI ...
Bharath's user avatar
0 votes
0 answers
21 views

Calling API from Power bi Desktop throws multiple errors (API KEY should be provided)

Im trying to call an API from power bi desktop using the web connector. I have the url which includes a query. I also have a Key which i will be using for connecting from power bi to that api. I tried ...
jahan's user avatar
  • 143
0 votes
0 answers
17 views

Why it is still showing 403 forbidden in the response

When i post a request with the accurate body type, it was showing 403 forbidden error. package com.WebAuthentication.DemoProject.security.config; import com.WebAuthentication.DemoProject.appuser....
Ronak Sathe's user avatar
0 votes
1 answer
133 views

How to call restful API (Authenticated endpoints) in SSIS for ETL

I'm relatively new to SSIS and restful API(AND every type of API), it's a bit hard to figure out the topic for me. So how to call restful API in SSIS to ETL? I don't get this; If the problem is to ...
annony JA's user avatar
0 votes
1 answer
91 views

While generating Bearer token getting "This resource must only be accessed over HTTPS. It was incorrectly accessed using HTTP"

We have http server for our dev / test environments. Both schemas are on same servers with different port numbers. Recently we have created few REST APIs. We get expected result from DEV environment. ...
Anand Jagtap's user avatar
0 votes
0 answers
24 views

I'm trying to do "blackbox testing" but keep getting a 404 error

I set up ther server, but It does not connect to the test client. Here is my server: https://docs.google.com/document/d/1lNmeiDbI4KfRwzfJJ3z8SQjN7WdQjrS3wZD3KvjJJMo/edit?usp=sharing. I just don't know ...
Bex's user avatar
  • 1
0 votes
1 answer
145 views

SAML Login still required when using Maximo Asset Management API with python urls.requests

I'd like to use script to automatically fetch the workorder or asset status data through API of our maximo asset management system. The maximo asset management version is 7.6.1.2 and I referred to the ...
ZHOUC056's user avatar
0 votes
0 answers
90 views

JSESSIONID from cookie to header

when using Spring Boot Security, by Bydefault JSESSIONID comes in the response header as a cookie when any API is invoked by the client. http.sessionManagement() .sessionCreationPolicy(...
Maverick's user avatar
1 vote
0 answers
14 views

Imported network request to sign in not producing same results in postman

I'm trying to scrape information from my account on Barnes and Noble, here: https://press.barnesandnoble.com/sign-in When signing in, I track the network request and copy as curl(bash). I then import ...
webnoob's user avatar
  • 15.8k
2 votes
1 answer
327 views

Accessing protected restful webservice

I've created few Rest Web Services using oracle apex environment. And need to call it from different database schema. (For e.g. I've 2 schema's abc and xyz. And both have their own apex environments. ...
Anand Jagtap's user avatar
0 votes
0 answers
34 views

AUthorization for JAX-RS always return null

Excuse me, I need some help 'bout Authorization using library Jakarta ws rs core HttpsHeader. I code for the filter function from ContainerRequestFilter and I want getHeaderString Authorization was ...
Ya Udah Aja's user avatar
0 votes
1 answer
31 views

Error Coming in UI but response coming correct in console

Here is my code for fetching notes using ContextAPI to pass the function between components: const [notes, setNote] = useState([]); let GETchallNotes = async () => { let response = await fetch(`...
Khushi Sanghvi's user avatar
-1 votes
1 answer
52 views

Why am I unable to retrieve a Xero item by identifier with a valid access token from Postman?

xero developer api not authorizing i generated the access_token from the endpoint postman screen shot for access token when i try to get xero item i am getting screen shot for item end point this ...
moslem parve's user avatar
0 votes
0 answers
173 views

How do I fix Unauthorized error: Full authentication is required to access this resource in Kotlin Springboot Web Service

I am trying to implement Role Based Authentication and Authorization in an LMMS but after configuration, I made signup request with Postman and I kept on having Unauthorized Error : Resolved [org....
Marcus Dashe's user avatar
1 vote
1 answer
266 views

Secure Password Storage in Flask-based RESTful API using Python

I am building a Flask-based RESTful API in Python, and I need to securely store and encrypt user passwords for authentication. Currently, I am using a simple hashing algorithm to hash passwords with a ...
SyntaxNavigator's user avatar
0 votes
1 answer
341 views

Spring boot - /authenticate endpoint won't return a JSON Web Token

I've been working on this for a while and the video I used to help me is from 2019 so it's a bit outdated but I thought that I could work through the problems. The program runs but when I try using ...
Tinotenda Mutadza's user avatar
1 vote
0 answers
345 views

Implementing Resource Owner Password Grant Oauth2 authentication using REST api on Flutter

I am currently building an android/ios/web app in flutter that uses oauth2 authentication with backend spring boot oauth2 server.Since I am new on flutter I don't have any idea about implementing the ...
KJEjava48's user avatar
  • 1,995
0 votes
1 answer
149 views

Unauthorized status from mobile Xamarin Forms application with Axelor Rest web-services

I want to connect to the Axelor server with a Xamarin forms application, I use this method to test the rest services connectivity : Login login = new() { ...
dal's user avatar
  • 1
0 votes
0 answers
213 views

Parallel request with Retrofit, Coroutines and Suspend functions any request 401 after we call refresh token, update access token then call same req

Parallel request with Retrofit, Coroutines and Suspend functions any request 401 after we call refresh token, update access token then call the same request again, class ServiceInterceptor() : ...
Sonu Kumar's user avatar
0 votes
2 answers
703 views

React Axios Basic Authentication, how to prevent pop up dialog box from showing

I have implemented an API with Basic Authentication When I provide the correct username and password to the authentication, it works fine, However, the problem is when i provide the wrong username / ...
Ah Fook's user avatar
  • 158
1 vote
1 answer
491 views

Getting 401 error due wrong placement of token jwt error

public getOrderID(filters: any) { let params = { orderID: filters.orderID, }; let token = this._currentUser.getValue().token; const Headers = new ...
Mobile and PC Tactics's user avatar
0 votes
1 answer
33 views

How to implement a single secure RESTful API layer for both web client and micro-services

I am currently implementing a API project using express-js. There are multiple clients for the API. This includes a front-end web app and some backend services. I am looking at using a normal session ...
Sharath Chandra's user avatar
1 vote
1 answer
361 views

Customized Password Reset URL for Django Rest API Password Reset

I am new to Django and have implemented a password reset endpoint for my rest API using the django-rest-passwordreset library. It works fantastic, but I want to customize the url returned in my email ...
user avatar
0 votes
1 answer
64 views

how to add facebook authentication to my Rest app in JAVA

I created a RESTful application with jersey and now I'm trying to add a facebook authentication interface to my app and i'm kinda stuck how to connect authentication to my rest method . package ...
Nassima Gannoune's user avatar
3 votes
3 answers
2k views

use laravel jwt authentication only for api without affecting web

I have an issue with authentication in laravel web, I only what to use the JWT authentication for the api only, I notice whenever I change guard in defaults to web 'guard' => 'web' and I try to ...
delle's user avatar
  • 233
1 vote
0 answers
124 views

RESTful resource creation in multiple steps

There are situations where resource creation requires more than one step. Example A session resource is created when a user authenticates. So the API call responsible for authentication would be a ...
user16768564's user avatar
3 votes
1 answer
1k views

Calling API through requests Library to get access token

I am trying to get the access token for a specific API, the curl command is given below: curl --location --request POST 'https://example.com/oauth/connect/token' \ --header 'Content-Type: ...
qwerty's user avatar
  • 897
-1 votes
1 answer
804 views

Custom AuthenticationFilter Setting `LoginProcessingUrl` is Invalid

I'm building an OAuth2 Authorization server that supports Restful API with Spring Authorization Server and Spring Security. I want a SPA application built by React to provide a login interface at /...
Chalie_J107's user avatar
0 votes
2 answers
161 views

Multiple objects to single endpoint with asp.net

I'm building a Restful API with asp.net core. I have an endpoint that are used to authenticate users. I have two kinds of Users where one is an Admin and one is "FilmStudio". I succesfully ...
Marcus Rosberg's user avatar
0 votes
1 answer
1k views

400 Bad Request for too long request parameter in PUT request

I'm trying to hit a PUT api through URL https://localhost:9002/serialNumbers/700027601?consignmentCode=700027601_c0&productSku=120398ID&serialNumbers=1@120398ID@000N@12345,@120398ID@000N@12346,...
Pritha Datta Biswas's user avatar
2 votes
1 answer
443 views

Why not to have two access_tokens and two refresh_tokens stored one in cookie and one in localstorage to protect from XSS and CSRF

Background Scenario is that we have a REACT SPA and a single API which is both a resource server and an authentication server. We want to implement simple tokens based auths. There is no dedicated SSO ...
Rychu's user avatar
  • 865
-1 votes
1 answer
81 views

Can any body answer my question about Oauth2?

I am buiding an app using svelteKit and django rest framework. SvelteKit is responsible for rendering HTML page(SSR) and django rest framework is responsible for providing restful API. Both App server ...
xiayulu's user avatar
0 votes
1 answer
2k views

Consume SOAP XML in Rest WebService

I am able to consume xml based request in rest webservice. Below is the sample code how I am consuming XML request in my rest webservice. Now, I want to consume soap request XML and I know SOAP is a ...
suleman's user avatar
  • 65
0 votes
1 answer
676 views

How to Validate a RESTful endpoint that the call is not happening from CURL or POSTman or any similar tool

We have few restful endpoints service developed in Quarkus. We test all the endpoints using CURL and POSTMAN or similar tool. After testing, We call all the endpoints from Andriod code from our mobile ...
Prakash Dutta's user avatar
-1 votes
1 answer
45 views

How to authenticate with firebase rules (RESTful)

I am not sure where I pass my auth uid token when I am making a request to firebase. I've tried: [myfirebaseurl]/path/1234.json?auth=[uid that i set]. Along with putting the UID in headers, content, ...
Luxxe's user avatar
  • 13
1 vote
1 answer
501 views

React + Django send raw password in HTTP request, security discussion

I am new to Django and I am working on the user authentication part. I used the Django provided User model, and use auth() and login() method when the user login. I have a question about the password ...
CharlesC's user avatar
0 votes
0 answers
137 views

Python REST POST Handling Large Requests

I'm working on a machine learning application in python that will be contained in a docker on a kubernetes cluster. In this implementation I'll be using Google Cloud Platform. A user will access the ...
user3055889's user avatar
0 votes
1 answer
2k views

How to Impement Spotify's Authorization Code With PKCE in Kotlin

So I want to use Spotify's Web API. I have read some documentation that you' ll need to implement an Authentication code with PKCE. I am not 100% sure on how to do that and can use some help with that....
OEThe11's user avatar
  • 351
0 votes
0 answers
405 views

Spring Security ROLE_ADMIN and ROLE_USER problem

I have a simple shopping application which has 2 types of roles "ADMIN" and "USER". Controller method: @PostMapping("/admin/category/addProducts") public void ...
SM. Hosseini's user avatar
0 votes
1 answer
71 views

NodeJS Authorize with JWT token

I'm trying to use a JWT token to authorize the user before allowing them to GET a "welcome" page. Here's the code for the endpoint; var apiRoutes = express.Router(); apiRoutes.use(bodyParser....
Meggy's user avatar
  • 1,591
0 votes
1 answer
297 views

Preventing spoofing attack - how to ensure my client receives orders from the real server?

I'm working on a Chrome extension that integrates with a website. My users can do actions on this website when they are logged in to it. I have a Socket.IO server that delivers commands to my Chrome ...
Aviv Dolev's user avatar
0 votes
1 answer
158 views

How to do user validation on a Mongoose request through Restful

So I want to first find the comment a user wants to delete and then check to see if the usernames match up to validate that the user has permission to do this (I know usernames are not the most secure ...
The One Who Will's user avatar
0 votes
1 answer
168 views

Java Oauth request_token flow example, without libraries

I have this piece of code: String yourUrl = "https://api.discogs.com/oauth/request_token"; String currentSeconds = String.valueOf(System.currentTimeMillis() / 1000); String ...
Nuñito Calzada's user avatar
1 vote
1 answer
578 views

ORDS RESTful Service + Angular with Authentication

So I'm not having much luck finding much info on how to do this so here we go. I am using Oracle Apex + Angular where I want my front end built in angular and then Oracle Apex as a middle man of the ...
Madeirey's user avatar
  • 152
1 vote
1 answer
1k views

How to properly put the auth token in the header for a GET request

I have am trying to do a get request to api with blockcypher.com. In the docs they simply append the api token to the URL with ?token= or if it's part of multiple parameters &token=. What's the ...
ChristianOConnor's user avatar
0 votes
1 answer
659 views

Concurrent requests for Symfony4 REST API (LexikJWTAuthenticationBundle)

I'm a bit lost right now and could use a push in the right direction. In short PHP Symfony 4 project (mostly default configuration), hosted on Google Cloud App Engine REST API, authentication via ...
winterstefan's user avatar
0 votes
1 answer
336 views

Azure AD Authentication through restful api

I'm now working with the Azure AD authentication through this two samples, and it's all worked fine: Sample1 Sample2 But is there any way to authenticate Azure AD with restful API like below? POST ...
Vic Mao's user avatar
  • 11
0 votes
1 answer
2k views

How to secure the API in NestJS, using Firebase Auth gmail in Client?

How can we secure the NestJS API endpoints? Client Android Native Application with Firebase Gmail Auth. SERVER NestJS Framework with ExpressJS, TypeORM ,MySQL Our user authenticating by Firebase Auth &...
Amit's user avatar
  • 27
0 votes
1 answer
618 views

Python Client connecting to HP ALM 12.20

I'm trying to use requests to connect my python client to HP ALM so I can export Defects and Requirements. My problem is that when I try to connect to ALM I get this error. requests.exceptions....
h3lminth's user avatar

1
2 3 4 5
30