Questions tagged [oauth]
OAuth (Open Authorization) is a specification for client applications to access protected resources on behalf of a user. It was developed as an alternative to users handing out their login credentials to third-party applications.
36 questions
3
votes
1
answer
127
views
.net api implementing oauth 2.0
I am trying to implement Oauth in my .net API with EntityFramework. I already completed the custom local authentication with JWT tokens and refresh tokens. I got a little bit confused as to how I ...
0
votes
0
answers
86
views
Nostr OAuth 2 authentication using Fastapi
I liked the idea of being able to authenticate using your own private key using Nostr protocol. The idea is based on events, so you prove your identity by signing an event.
It's close to Wallet ...
3
votes
1
answer
121
views
Django Google Authentication App using OAuthLib and DRF
Context
I've been working on a Django-based Google Authentication application, designed to manage OAuth authentication without relying on libraries such as ...
3
votes
2
answers
164
views
Algorithm to compare OAuth2 Rich Authorization Requests
Authorization Requests spec defines new authorization_details parameter. The authorization server have to somehow compare this parameter to decide whether client ...
1
vote
1
answer
65
views
OAuth implementation for Puredata
I am managing an OAuth implementation for Puredata (Pd), which is written in C. OAuth can accept RSA keys, but Pd cannot send messages with newlines, so placing private keys will come as a list of ...
2
votes
1
answer
2k
views
Instagram Basic Display API Full Example PHP
Here's an example script I wrote for Instagram (Facebook)'s Basic Display API. I did this for myself because I haven't used Instagram's API since their Legacy API was disabled, and I needed to ...
2
votes
0
answers
52
views
Google Mailer app inside Django using OAuth 2.0
I have built this Django Package which is an alternative for sending mail to users using Gmail API. Everything is working fine. But the verify(self, request) method inside ...
6
votes
1
answer
927
views
Nodejs async with express server
I use the following code which works as expected. The code uses open ID connect to login user. Because I'm pretty new to node and express, it will be great if I can ...
2
votes
1
answer
138
views
Login system in PHP using AJAX
I am beginning the cycle of creating my role based access control into my framework. I now want to log the user into my application and my _user table looks like this:
...
2
votes
0
answers
170
views
Implementation of OAuth2 device flow using Python
Please review this program because I wrote something in Python for the first time. This code is to be used for device authorization in oauth2 device flow.
...
3
votes
1
answer
76
views
Script that saving most relevant Youtube video for each database object
Due to the tightened Youtube API daily quota (that allows to use only ~ 98 search requests per project daily) I've implemented a multi-project system. For this to work you need to create a project/...
4
votes
0
answers
428
views
Get current user middleware from JWT using express
I'm using Sequelize and Google oAuth for authentication, I want to create a middleware that
Verifies the sent token passed in the headers matches the one the user was initially signed to.
Finds the ...
3
votes
0
answers
76
views
Node/Express authenticate Google email address
Trying to set up express server that will authenticate a user's Google email before proceeding.
The code below works, but is there any way to make it more elegant?
The whole ...
2
votes
0
answers
310
views
Google OAuth Boilerplate in Python Tornado
I recently started a project using python-tornado, and needed to implement google OAuth to manage user logins. I struggled getting this working in the context of the project, and decided to abstract ...
3
votes
1
answer
174
views
Node.js command line app to init a repo
In order to learn more about Node.js and promises I followed a tutorial on Sitepoint about building a command line app. I liked the idea and simplicity of Node so I decided to build my own that ...