59 questions
0
votes
1
answer
305
views
Flutter + Supabase: Deep link not redirecting back to app after GitHub OAuth login
I'm integrating GitHub OAuth login in my Flutter app using Supabase. I've set up deep linking and configured everything based on Supabase and Flutter documentation, but after authenticating with ...
0
votes
0
answers
41
views
About:blank redirects using Firebase Auth for 3rd party logins
I am currently trying to implement 3rd party logins to my application. I have Google log in working but I want Twitter login and Github logins. I previously had the logins working and all of a sudden ...
0
votes
1
answer
67
views
In OAuth 2.0, does the resource server need to add authorization logic based on user attributes?
Lets take a GitHub OAuth app.
The client goes through the authorization code flow to get an access token to GitHub.
The client sends the access token to GitHub's resource server (https://api.github....
0
votes
1
answer
49
views
refreshToken not available after authentication from GitHub using passport-github and using GitHub's oauth method for authentication
`I am integrating GitHub in my node application. I am using GitHub oauth method for authentication. This is the code:
var GitHubStrategy = require('passport-github').Strategy;
passport.use(new ...
0
votes
1
answer
290
views
CORS header ‘Access-Control-Allow-Origin’ missing. Status code: 404 (fastify-oauth2 + react)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource a github oauth api using fastify-oauth2 from react
Giving the error below:
Cross-Origin Request Blocked: The ...
1
vote
0
answers
126
views
angular oauth 2 oidc doesn't work with github idp
i am trying to test using the angualr outh 2 oidc plugin to integrate github authentication into a project.
I have configured the settings and applied all the necessary functions but when I press the ...
1
vote
0
answers
215
views
How can I properly implement Githhub Oauth2.0 authentication alongside JWT Authentication in Nest.js?
I have already implemented the jwt authentication. The problem occurs with Github Authentication using passport-github2 in Nest JS? I keep running into the error where I get req.user is equal to ...
0
votes
0
answers
553
views
Getting Github oauth callback url 'code' query param in next auth 5
I'm using next.js 14.1.0 and next-auth 5.0.0-beta.11. I have oauth login via github working. During the login process, github sends me a code as a query param to the callback url that I specified ...
2
votes
4
answers
2k
views
Encountering 404 Error 'Not Found' When Exchanging Code for Token using GitHub OAuth API
I'm encountering a problem while trying to exchange a code for a token using the GitHub OAuth API. Whenever I make a request to the URL https://github.com/login/oauth/access_token, I receive a 404 {&...
2
votes
1
answer
262
views
Spring Boot 3.2.1 GitHub OAuth2 check which Orgs/Teams someone is in
I have been trying hard to get some kind of GitHub OAuth2 Login for my Spring Boot project to work. While I got it running on the Default, I want to check which Orgs and Teams someone is in, to ...
-1
votes
1
answer
124
views
Is there a good way to get new token if old one is not available for installed GitHub app?
Currently I am trying to build a Github Pages site that will act as an editor for the data in a users repository. At the moment when the user initially uses the site, they are directed to install the ...
1
vote
1
answer
342
views
Exchanging "code" for "token" using Github OAuth with Spring Boot
I'm working with a Spring Boot application that uses Github OAuth for login/logout. It's my understanding as described here that I can use the endpoint below to exchange a "code" provided ...
0
votes
1
answer
325
views
How to sign out of Microsoft and Github with Flutter Firebase
I can't seem to force a sign out of Github or Microsoft they way I do for Google. With the help of the google_sign_in package.
Future<GoogleSignInAccount?> _signOutWithGoogle() async {
...
2
votes
2
answers
2k
views
how to get the github oauth access_token
Lately Github updated the Oauth apis and documentation. I am unable to get the access_token from this api
POST https://github.com/login/oauth/access_token ( I am always receving CORS error in ...
0
votes
1
answer
645
views
How to get scopes info from a GitHub OAuth access token to perform incremental authorization
When performing authorization with the GitHub OAuth API, users are redirected back to a certain application with a temporary code parameter
The temporary code parameter can be exchanged for a access ...
2
votes
1
answer
4k
views
How to access a private repository using a GitHub App with OAuth?
My goal is to be able to list and access private repositories of a user.
For this, I've set up a GitHub App to perform some tasks as an app. I have also enabled the OAuth capability of my app. I want ...
0
votes
2
answers
611
views
Next-auth Receiving 404 after login attempt in Next-auth development env
Next-auth Receiving 404 after login attempt in Next-auth development env. i have next-13.4.9 and next-auth-4.22.1, i tried many ways but didnt helped. not sure whats the problem.
3
votes
1
answer
2k
views
How can I add GitHub as an identity provider for AWS Cognito with Terraform?
I am using AWS Cognito to build out the authentication layer for my React app, and I'm trying to go for the quickest win possible. I'm using Terraform to build my backend, and have successfully got ...
0
votes
1
answer
807
views
Python Flask. Authlib. How to logout or revoke token? GitHub OAuth
I use authlib for oauth2 in my application. And after logging in via oauth(GitHub), I want to log out. How can I do this? Do I need to revoke the token? Or do I need to clear my flask session somehow?
...
3
votes
1
answer
476
views
How to implement social login with GitHub when user email is private?
How to implement social login with GitHub so that I am able to get private emails of user for authentication if users email is set to private? Currently I am able to process user login when user email ...
-1
votes
1
answer
1k
views
No Access-Control-Allow-Origin header when making request from front end in Spring Boot 3.0 web service and Spring Security Oauth 2.0 authorization
I created simple Spring Boot 3.0 web service and configured Spring Security Oauth 2.0 authorization with Google/Github (https://www.wimdeblauwe.com/blog/2023/01/24/using-google-login-with-spring-boot-...
0
votes
1
answer
426
views
OAuth2 Via GitHub Api - Refresh Token missing
I am using .NET 6 - AddOAuth() method to configure the authorization code flow. After the authentication via token endpoint, I received access token but refresh token is missing.
As per Github's ...
0
votes
1
answer
176
views
How to use passport.js github strategy to get emails of users instead of null
I successfully got the user details but the email field is null.After some time got to know that I need to fetch it from "https://api.github.com/user/emails".I used axios and also provided ...
1
vote
1
answer
1k
views
GitHub oAuth apps: What's the most granular scope to get access to Pull Requests?
I'm reading the documentation on Scopes for OAuth Apps and it's not clear to me if it's possible to grant read access to private repos, without providing write access.
The repo scope grants full ...
1
vote
1
answer
337
views
Is there a way to get binary files (contents) of Github private repositories of GitHub OAuth logged in users through Github API?
I've been looking for a way to get binary files (contents) of Github private repositories and organization repositories through GitHub API, in order to build those files and deploy them for users. (in ...
0
votes
1
answer
241
views
Verify if token not expired Github Oauth1
Hey i want know if github have a endpoint to verify if a access_token have expired ?
I have tried this but i have a 404 error
0
votes
1
answer
584
views
Can I use a Github OAuth app's generated access token for pushing code to a repository of the user?
I know there is a hacky way of modifying content of user's repo through the GitHub API which just needs an access token and workflow scope. What I would like to do is use this access token in place of ...
5
votes
1
answer
3k
views
Should I create a GitHub App or GitHub OAuth App?
I am trying to create a website that will allow users to authorize their GitHub account and it will then allow the user to click a create button. Which automatically creates a new repo with some files....
0
votes
1
answer
9k
views
How to remove a GitHub account from Visual Studio [duplicate]
I want to add my GitHub account to Visual Studio.
When I click GitHub, this page shows up:
This is an another account. So, I don't want to use this account. I deleted everything from Settings->...
-1
votes
1
answer
650
views
Using Github OAuth2 with Application Postman is returning HTML Welcome Page Instead of Response
I'm setting up my Spring application with OAut2 authorization. I have connected my application to the github OAuth app, I have added the dependencies. When I go to use Postman to test my application, ...
1
vote
0
answers
257
views
AuthCanceled at /oauth/complete/github/ (Authentication process canceled)
I'm working with a Django app and when I try to login with Github, this error occurs:
AuthCanceled at /oauth/complete/github/
Authentication process canceled
Request Method: GET
Request URL: ...
2
votes
1
answer
950
views
how to delete github oauth accessToken when user logout?
I'm having trouble with deleting github accessToken when user try to logout from my react app.
I was trying to follow the instructions in github delete accesstoken documents, but I get an 404 bad ...
0
votes
1
answer
124
views
How can you audit GitHub OAuth permissions granted?
In light of the recent breaches of the GitHub OAuth tokens held by Travis-CI and Heroku, it seems prudent to review which services you've given GitHub OAuth access to, and what level of access.
Seeing ...
2
votes
0
answers
2k
views
Revoke GitHub OAuth token
I made user authorizztion via GitHub OAuth. So now I'm trying to make a log out func. According to GitHub I can do it via revoking access token (https://docs.github.com/en/rest/reference/apps#delete-...
0
votes
1
answer
3k
views
Using GitHub OAuth for Superset
I am running superset from a container on a server and I am trying to use GitHub OAuth for user signup/login.
Unfortunately I got it working to the point where I can see the "SIGN IN WITH GITHUB&...
0
votes
0
answers
455
views
Firebase Sign In with Github/Twitter/Facebook Not working
I have created 2 web applications using firebase and hosting. I am trying to create buttons that will sign in with Facebook, twitter, GitHub. I have a google button and that works no problem. However, ...
8
votes
2
answers
7k
views
How should I store OAuth with my own authentication system?
I have an existing signup/login system: a user enters an email and password. The password is hashed. I store it in a database.
When a user logs in, they entire their email and password. The password ...
2
votes
0
answers
303
views
Accessing github API scopes from Google Apps Script
I'm trying to use the apps-script-oauth2 library to access the GitHub API in a Google Apps Script. I'm creating the service like this:
function getGithubService(client_id, client_secret) {
return ...
2
votes
1
answer
644
views
How to instantiate Octokit for user-as-a-server oAuth?
I want my GitHub app to perform actions on behalf of a user, like creating an issue.
I am authenticating my user this way:
const { createOAuthAppAuth } = require('@octokit/auth-oauth-app');
const ...
7
votes
0
answers
2k
views
How to authenticate Octokit using Github Oauth access_token
I'm building a GitHub Oauth app, and I'm trying to authenticate Octokit using an Oauth access_token that I'm getting when the user clicks sign in with Github.
The access_token I'm using has access to ...
2
votes
1
answer
478
views
Social Network Login Failure on Django, Callback url mismatched
I have problem for attaching social login.
I have tried google login on local, it was fine.
But when I try for deploy, Non-public domain is not supported.
I`m not sure *.link is non-public domain, ...
0
votes
1
answer
527
views
GitHub Authentication for Android Through Firebase
Hello I want to know how can I access user email while authenticating a user through Github in my android App. I am using firebase and android studio. Please note that I cannot use user.getEmail in ...
2
votes
0
answers
666
views
How do I implement Github OAuth2 login with Spring Boot using only REST api?
I am trying to implement Signup with Github in a sample project, where front-end code is made up of ReactJS and Backend API is made up of Spring Boot.
I am not using Server Template Engines such as ...
2
votes
0
answers
849
views
GitHub oauth doesn't fetch email with scope set to "user:email,read:user"
I was following this tutorial to implement authorization with github using Spring. Here is oauth2 configuration:
github:
clientId: ${GITHUB_CLIENT_ID}
clientSecret: ${GITHUB_CLIENT_SECRET}
...
1
vote
1
answer
2k
views
Trouble getting access token when using github OAuth2
I am trying to follow Users are redirected back to your site by GitHub step
I was able to get an authorization code, but I am having trouble exchanging that for an access token.
This is the call with ...
4
votes
1
answer
2k
views
How to solve CORS error when redirecting to github omniauth route?
I'm trying to build a simple app that is just using a GitHub login for authentication for now. I am using Rails v5.2.3 for the backend, and React for the frontend. I currently have a button in my Root ...
0
votes
1
answer
482
views
Can I use a hardware OAUTH device for 2fa for github?
I have two hardware tokens that generate pseudo-random six-digit codes, for two-factor authentication schemes: an RSA SecurID and a Gemalto. I also have a Yubico key that plugs into the USB bus. Can ...
0
votes
1
answer
322
views
How to prevent cross-orgin error when using Github OAuth?
I have a site that when the user signs in; it opens a new window to github login to use it’s oauth flow. The user signs in, grants access, and is redirect back to the site. https://www.example.com?...
2
votes
1
answer
611
views
While using passport-github, profile.emails is null despite user:email scope
I'm trying to get the private email of github user via passport-github.
So this is my code with scope: "user:email":
import passport from "passport";
import ...
1
vote
0
answers
82
views
How to list the scopes granted to a specific application
A React application has a standard OAuth flow that grants access to Github with no scope. The user can go through another OAuth flow to grant repo access to the application. How can the application ...