I am pretty new to this, so I hope youll bear with me. Is there a way to sign into rally wsapi using a url? I have tried https://rally1.rallydev.com/slm/webservice/1.31/hierarchicalrequirement?username=someuserid&password=somepassword but that doesnt seem to work. I still get a login prompt.
I can sign in and pull up all of the info I need, but if I pull this data source from infopath it cant sign into or give anyone a prompt even to access the source once it's out on sharepoint. Ive tried everything I can think of, tried signing in using a customized udcx file, etc. Wasnt able to get curl to both authenticate through our proxy and to Rally either. Please help!
Rally's AppSDK has a LoginKey tool that can facilitate view-only access for external systems. Charles wrote up a great answer to this in Login to Rally using app sdk. You do have to file a case with Rally Support (rallysupport#rallydev.com) to obtain access to the tool.
For using curl, you should be able to pass your username and password on the command line like this (from the rally api doc):
curl -u 'curmudgeon#rallydev.com:SecretPassword' https://blah.blah.blah
For using other tools, if they have a mechanism for using "basic authentication", you should be good to go.
Related
I not hugely experienced with API's, but I was wondering the difference in Postman with using the 'Authorize using Browser' below Callback URL and not using it. (I'm trying to connect to Microsoft Dataverse using Web API) When I don't use it a pop up comes up fine and I can sign in and authentication goes great. But if I use the browser it won't work. Now, I don't have Azure Admin rights to set up callback URL's in my environment so I imagine that is part of the issue, I'm just wondering why it works one way and not the other. I was trying to replicate in python and am getting the same error as trying to use browser in postman. I would like to understand what backend process Postman is using in the non-browser version so I can replicate if possible. I followed Microsoft's example in the link below as well.
Postman Example
https://learn.microsoft.com/en-us/learn/modules/common-data-service-web-api/3-postman?ns-enrollment-type=learningpath&ns-enrollment-id=learn-dynamics.integrate-power-platform
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 am developing a login feature in that user can login into the application using the Google account and get user profile detail. For that, I am creating a project in google developers and it's verified by me.
I try with this reference here but when I try with this that is give me the error of "Disallowed user agent" and gives me the error of the open in safari or chrome when I try with the iPhone(iOS devices).
I also go through some other references like "Xamarin. Auth" but it doesn't work for me. When I set a redirection URL with clientId:/oauth2redirect or the Package Name(Bundle Identifier):/oauth2redirect . It gives me an exception of Not valid redirect Uri.
I also try to add JSON and p12 file on respective device-specific projects and set bundle resource but it doesn't work me.
If anyone has solution to this without using WebView than help me.
You can try this plugin from CroosGeeks
https://github.com/CrossGeeks/GoogleClientPlugin
Here is the sample app:
https://github.com/CrossGeeks/GoogleClientPlugin/tree/master/GoogleClient/GoogleClientSample
This is not using the WebView. The documentation is also quite good.
I'm using the dropboxd service under Linux, which requires you to log into their website e.g. https://www.dropbox.com/cli_link?host_id=2173bf325f94beee3b1879d2c7b49e69 to link the machine to your account.
Is there any programatic way to do this (ideally using Java)? To access the website above it seems you need to login using forms (which seems tricky to do programatically), and their basic REST API (https://www.dropbox.com/developers/core/docs) doesnt seem to cover the cli_link command.
I could write an app to do the sync using their full API, but it seems like overkill since aside from the cli_link requirement the basic dropboxd does all that I need.
The official Dropbox desktop client is unrelated to the API, though both the API and the Linux CLI require user interaction on the Dropbox web site (once per link) to authorize the linking. Also, note that automating/scraping the site itself is not allowed by the terms:
https://www.dropbox.com/terms#acceptable_use
Not really a solution for DropBox users, but in the end we just moved over to use MediaFire instead. That has a full REST API and doesnt require any manual intervention.
I'm using Java with Google Plus API. I'm using OAuth 2.0. When a user is authenticated, an access code is returned in a browser. Now, given that the code must accompany a call to the Google Plus API, I currently have to manually copy the code and use it in making calls to the Google Plus API. What I wish to do, however, is to programmatically retrieve this code; eliminate the manual copying.
Any assistance will be highly appreciated. Thanks in advance.
It sounds like you're writing a command line or some other non-web application that uses the Google+ API. This throws a little bit of a wrench into the token delivery via HTTP redirect. Without the redirect there's no way for the OAuth web pages to communicate with your code and hence you must copy and paste it.
There is one work around that seems to work pretty well. You can set up a local web server, such as an embedded Jetty, and complete the OAuth flow by redirecting the user back to their locally running web server.
You can see an example of this implemented in oacurl which is hosted here: http://code.google.com/p/oacurl/