Questions tagged [api-authorization]

70 questions
1
vote
2 answers

ASP Core 3.0 API Token Custom Token Authentication (not jwt!)

We have a ASP CORE 3 API Project that we need to secure with an API Token. These API Tokens will be provisioned and loaded from the database, but as proof of concept we will hardcode for testing. Everything we have looked at for token authorization…
Scott Moniz
  • 382
  • 6
  • 18
1
vote
0 answers

How to replace Postman PHP code snippet with basic auth user and password?

I'm working with a client's third party API and I was able to successfully post to their endpoint but with not much API experience I'm not sure how to go about working the PHP code snippet Postman renders to a WordPress hook, which is a Gravity…
Jose
  • 19
  • 2
1
vote
0 answers

Implementing OAuth on API with email/password for authentication

I just inherited ownership of an API (written in Python/Flask and running on AWS, with a MongoDB back end) where the only auth was a manual email/password login. The current process is: Obtain email and password from user (via app). Submit to API…
kilokahn
  • 901
  • 12
  • 32
1
vote
0 answers

FatalThrowableError when using custom guard for api authentication in laravel

I keep on getting a FatalThrowableError exception or a BadMethodCallException each time i try to authenticate via token or passport drivers respectively in my custom guard (api-users) however with a session driver it works just fine. I have defined…
Ainz-sama
  • 1,924
  • 2
  • 19
  • 36
1
vote
0 answers

Rest Apis authentication on Play framework for mobile application

I am an android developer and I am trying to learn server side. I have created a server side application with play 2 that gives RESTful apis. I have an android application as the client. I know how handle sessions in android by saving the access…
1
vote
2 answers

Re-using authorization token response in Logic App

I am new to logic apps and am trying to build an Auth request workflow to obtain a token for re-use in subsequent requests. The API I am connecting to requires that I first sign-in using a username and password in the body of the initial request.…
Nigel Clark
  • 11
  • 1
  • 2
1
vote
1 answer

Microsoft APIs authorizations management with App Registration Portal

When I create an application through Azure AD admin portal, when I go into "application registrations", I can manage authorizations for several APIs (Graph, SharePoint Online, Skype for Business Online, Power BI, OneNote...) However, when I create…
Frosty Z
  • 20,022
  • 9
  • 74
  • 102
1
vote
0 answers

I want to authenticate api by using public and private key for each user in ruby on rails

I want to know how to implement public private key authentication for API & how to generate the new public private key pair and store them in the database so that at the time of API hit, i can retrieve them for authentication. Please correct me if i…
1
vote
1 answer

API authentication with oAuth2 and first-party applications

I apologize if this has been answered, but I have been searching for hours, and still don't quite understand. This is a specific question, and not a "which is best" question. Specific questions are in italic. I have created a RESTful API, which was…
Apollo
  • 821
  • 1
  • 7
  • 22
1
vote
0 answers

Locally Hosted Windows Azure Active Directory vs IdentityServer4 for API-Centric Applications

Centric application with asp.net core and am concerned about whether to use Active Directory or Identity Server. The thing is i need to be able to run my application in a closed network without any connection to the internet but using a local…
1
vote
0 answers

Need java code to test API response ? If API's need authentication

Currently I am using the following code to get the response. public static String LinkCheacker(String URLString) throws IOException { String Status; try { URL url = new URL(URLString); HttpURLConnection http =…
HillHacker
  • 2,902
  • 6
  • 15
  • 23
1
vote
0 answers

How to prevent double authentication of different devices with the same credentials with an API backend?

I'm working on a project which have an Android part (but in a future there can be other OSes apps as well) worked on devices which must work without user interaction (have limited input capabilities and each user may have a significant number of…
heathen
  • 170
  • 2
  • 10
0
votes
0 answers

How to get API Authentication in python?

I want to make a python query for API Authentication token but am not getting any response. The curl request on the website is like this curl -X "POST" "https://integrations.apptopia.com/api/login" \ -H "Content-Type:…
0
votes
1 answer

How to add API key to Axios post request for mailchimp

I'm trying to set up an axios post request to add members to an audience list, but I can't figure out how to add the API key (keeps giving error 401: 'Your request did not include an API key.'). I've tried a bunch of things in the "Authorization"…
0
votes
0 answers

Integrate products using OAuth

Background: We have 2 distinct products that are installed in customer's on-premise location. Product A needs to expose an API which Product B needs to call. Product B wants to ensure the API is secure. Product A wants to also enable rate limiting/…