Auth problem with creating Cloud Build Triggers - authentication

I seem to have gotten my Google/Github authentication into some kind of bad state. I am attempting (repeatedly) to create a Github build trigger by the following steps:
From https://console.cloud.google.com/cloud-build/triggers click
"Create trigger"
Select Github and check the consent box.
Sign in to my Github account. This succeeds and I see the list of my repositories and my organization's repositories.
No matter what repository I select, I see this error:
There's a problem at our end
I've tried include signing out and in of my Github and Google accounts (including clearing all cookies) but nothing helps. I also asked another administrator to create the trigger and he sees the same error, which implies the issue must relate somehow between Google and Github and isn't specific to my personal account?
If anyone has seen this before or has any suggestions it would be a big help. Thanks!

Related

Log in to GitHub enterprise with jetbrains IDE (Intellij or Rider)

There's no real guide for this, this is the existing documentation :
https://www.jetbrains.com/help/rider/GitHub.html
it's outdated.
Rider actually wants you to provide a token :
this seems to not be the personal token.
I tried it with my server, it didn't work.
There's also a button for generating the token which does not work.
it systematically generates github 404 pages :
I assume the "Server" field is supposed to be in the
https://github.com/<SERVERNAME>
or
https://github.com/organizations/<SERVERNAME>
format.
but I cannot for the life of me figure out where I get the server's token from.
Again I did generate a github personal user token, but this one is refused by github enterprise login.
just like the personal user settings, the Github enterprise settings has a "developer settings" tab :
but this tab seems to be for a different use, you create an "app" to be browsed on the "github app market", and I did create this but this is the full list of actions this gives access to :
none of which involve giving me a token.
This is neither something that can be found in the options through brute force nor something that google yields results for.
I need help.
Update:
A bit more serching lead me to this doc : https://docs.github.com/en/actions/reference/authentication-in-a-workflow#modifying-the-permissions-for-the-github_token
it seems like the GITHUB_TOKEN they are talking about is the thing I would be interested in.
at the top of the doc, the info-bubble claims this feature is not made available for users of Github free?
Is this what's going on?
this would be terrible communication on Github's and also Jet Brain's part. how are users to understand this and why does rider wish to force you to use this paid feature for integrating with github enterprise, when cloning the repo directly from a terminal that has your SSH key work just fine?
this is absurd. at the very least adding individual repos with github logins via SSH should be an available feature.
You need to enter the domain name where your Github enterprise is hosted.
Then you can click "Generate.." which opens Github in your browser
Click the green Generate button at the bottom, and then copy and paste the token into IntelliJ.
This worked for me. You could also probably navigate to the "OAuth Apps" page yourself and create a new app with the correct permissions and paste the token in.

I find no way to set the visibility of the GSuite Marketplace API to PUBLIC

When I try to publish my app on the Gsuite Marketplace via GCP, I find no way to change the setting 'Visibility'. Event if the app has never been published.
Between the two options (My Domain - Public), My domain is selected and can't be switched to Public, so nobody has access to my app.
Any help?
I've tried to contact the support and find help on forums but no answer at all.
First step, I'd recommend reviewing Choosing where to publish to ensure that you've published to the correct location. As noted under Publish your app (before you publish), your app is reviewed to determine if it meets the requirements for the relevant store. Additionally, your application may also have to undergo OAuth verification (I think this could be the problem) , and security assessment if it accesses user data, such as Gmail, Drive, Contacts, or Calendar
If your app is exempt from verification or if you've already undergone assessment and been approved, and your issue persists, I'd recommend contacting Marketplace Developer Support, via the below steps, who can assist you with your publishing issue.
Navigate to the new Developer Dashboard.
Click Contact Us.
The Developer Support contact us form is displayed.
I've tried to contact the support and find help on forums but no answer at all.
How did you contact Google Support? They have many teams and sometimes agents are not aware of the scope of support. Personally I would contact GCP Support first to verify your App in GCP, once they confirm everything is working from their end they need to route the case to GSuite with an Admin Console specialist to debug the problem

odoo allow existing user to signup using google login

I am trying to integrate a google login with my odoo website, I was successful in logging in new users but I was not able to login using existing user can anyone guide me if i had done anything wrong.
From the comments i am trying to include what i have done so far to trace down the issue.
I was able to setup login using google.
I was not able to login using google using existing user so after extensive search i found a solution like we need to send a reset password from settings for a existing user and it will work in-order to to make the google login work and I worked like charm but i don't know whether it is the perfect solution for the issue

google warns "Unverified developer" for private site with spreadsheets API

I privately host a site for my family that uses the Google Spreadsheets API (readonly). I received an email from google looking to "Remove risky access to your data". My site is listed with a warning:
I've gone through the verification process (filling out this form: https://support.google.com/code/contact/oauth_app_verification) but got the response that if the site is used privately "you don't need to go through the verification process". They state this in their FAQ also: OAuth Developer Verification Form FAQ.
However, the site still shows a warning in Google's security check-up. I can ignore this but I think other family members will be worried unnecessarily OR ignore future warnings about other apps assuming it's the family one they normally ignore.
Is there a way to verify myself as a developer of a private site or mark the access as trusted so the warning doesn't recur?
I ended up making my site public and going through the usual verification process.
Not really an answer, but rather to flag that this is an issue my dilemma as well. Although I run time-based Google Script within an organization. I've contacted folks at the Google Cloud Platform and they have opened a case. However, here is something interesting I've stumbled across just now. Go to your Google account and do Security Checkup
After the checkup your screen might be showing something like this
Try clicking "Dismiss" to prevent Google from removing your app.
I'm just testing it myself and if in an hour (that's how long it usually takes Google to remove your own script from the list of self-authorized apps with access to account info) Google won't remove it, I guess it would work for me!

Getting a Permissions error while setting up a hangouts chat bot

I'm following this guid to setup a hangouts bot, https://developers.google.com/hangouts/chat/how-tos/bots-publish
On step 4, when I go to the configuration tab on the API I keep getting this error:
The API "chat.googleapis.com" doesn't exist or you don't
have permission to access it
In the permissions section there are 2 accounts. Myself and the service account that I just made. Both are set as owners.
Did I miss a step? The doc I'm following seems to say I should be able to edit the configuration now.
This may be an issue with multiple accounts. Try using an Incognito window and logging in through there. If this is the problem, you may want to file a bug through the issue tracker.