Questions tagged [github-oauth]

46 questions
0
votes
1 answer

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 access to read and write everything. This works but…
Esteban Vargas
  • 512
  • 1
  • 6
  • 24
0
votes
1 answer

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 the Personal Access Token and push code from…
0
votes
1 answer

How to remove a GitHub account from Visual Studio

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->Developer Settings->OAuthApps-Github Apps-Personal…
Mustafa
  • 37
  • 1
  • 7
0
votes
1 answer

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 which services have been granted some degree of…
adam-p
  • 660
  • 6
  • 16
0
votes
0 answers

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-an-app-authorization). But this endpoint throws…
Denis Kudrik
  • 13
  • 1
  • 1
  • 4
0
votes
1 answer

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" button. However when I click it, the website…
chxnge
  • 1
  • 2
0
votes
0 answers

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, the twitter, Facebook, and GitHub all ask for…
0
votes
1 answer

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 onSuccesslistner because I am also using Google…
0
votes
1 answer

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 any of these be used to provide the two-factor…
0
votes
1 answer

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?code=“code”. My site then attempts to parse the code…
xjinx
  • 185
  • 8
0
votes
1 answer

Rails + OAuth Github - Deprecation notice for authentication via URL query parameters. How do I move params to header?

This is my first time doing github oauth in Rails so I followed a YouTube tutorial which was out of date (2015). It was clear and my app works, however when I successfully signed up I got the following email: Hi @NAME, On July 30th, 2020 at 19:31…
JoshuaESummers
  • 493
  • 2
  • 7
  • 24
0
votes
1 answer

How to display that a user is connected to GitHub

I am developing a website like Heroku. I confused what should I do with the Github OAuth part? when you wanna register in Heroku and login you can not use OAuth ways (login/register using Github). but after login you can create App. now one of your…
Kasir Barati
  • 606
  • 13
  • 24
0
votes
1 answer

Which scope should I use for a personal access token meant only to add ssh keys to my GitHub account?

I want to be able to add ssh keys to my GitHub account from a bash script (using curl). The documentation points that the best way to authenticate is by using a personal access token. Following the steps to create a token, I need to specify which…
Pamplemousse
  • 154
  • 1
  • 13
0
votes
1 answer

How to hook up github oauth 2.0 with http in javascript

Good day, I am trying on github oauth2.0 apis and got stuck on calling /access_token with fetch and axios. I have successfully gotten /authorize api to work and have client_id, client_secret, and code passed successfully to getAccessToken function.…
Wen Yao
  • 31
  • 1
  • 4
-1
votes
1 answer

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-3-and-thymeleaf/ - example of similar app).…
Stifler
  • 1
  • 1