how shall I review "access key" on Outline? - outline

I have installed Outline and put in an nice "access key" on it, so I can use it correctly;
Now I want to share the "access key" to my friend, but I don't know how to do that.
Any advice?

Related

"Access Not Configured" error in YouTubeDataAPI

I am integrating one website with youtube channel own. I needed to use the YouTube Data API. Google provides a specific URL to use the GET method in order to get data.
https://www.googleapis.com/youtube/v3/channels?part=snippet&mine=true&key={YOUR_API_KEY} (I used my API here)
When I use it, I got an error with the code 403 and reason accessNotConfigured.
" "message": "Access Not Configured. YouTube Data API has not been used in a project before or it is disabled."
YouTube Data API is enabled in my project. I don't understand where is an error and how can I solve/configure it
Please note that the mine parameter should only be used upon a proper authorization flow.
Also note that a query to the API's Channels endpoint needs to be getting the id of the channel you're interested in.

Access Denied when trying to Edit Bucket policy

According to the ACL I should be able to write the bucket permissions because when I go to "My Security Credentials" I can verify that my Canonical User ID is the one that appear as the one that should be able to edit the bucket permissions:
Yet everytime I try to edit the bucket permissions I get the following "access denied" message:
I don't understand why is this happening, I made the policy in the generator with the following options:
And I'm getting the ARN from here:
So according to me everything should be correct ... What am I doing wrong?
EDIT: The same "access denied" message appear if I try to make it public or edit other properties...

How can I customize the "Authorization required" dialogue box in .htacess?

I have a webpage with password restriction via .htaccess and when I access the page I get a box asking for username and password. Nothing strange there.
I've customized the error message for 401 so that users get some useful info if they enter wrong password.
However, I'd like to customize the text in the dialogue box in the box requesting username and password. The dialogue that looks like this:
I'd like to change the text "is requesting your username and password. The site says: “Password Protected Area" to some information about where to get the login information. Is this possible by editing the .htaccess? I cannot find anything about this. I only found how to customize the actual error pages.
I don't have access to the actual web server, since it is a web hotel, so I cannot do anything there.
PS
Although I doubt it would work, I could accept a PHP solution.
EDIT:
Found solution right after I posted this. See below.
And of course I find the solution after googling just one more time after posting the question.
The solution is variable AuthName. Add this line to .htaccess:
AuthName <message>
and the dialogue box will say:
is requesting your username and password. The site says: "<​message>"

How to post on the wall vkontakte via oauth?

Error code:15
Error Message: "Access denied: no access to call this method"
scope=offline,wall
I am faced with such problem few days ago and right now I have no solution. VK support team simply ignore my question about it. The only thing I can say is that from the official documentation there is no exact answer on that.
You need the following rights to call this method: wall.
This method is only available to Standalone-apps and web clients using the confirmation window.
But when you go to permissons details page you find that "wall" scope
access permission is unavailable for sites (it is ignored at attempt of authorization).

How can I reset achievements from Google Game Services?

I'm testing my game using Google's new Games Services, and I'd like to reset my account's achievements for testing.
I've found that you can reset achievements using google's APIs (https://developers.google.com/games/services/management/api/#Achievements) and I'm using the OAuth 2.0 playground to send the POST request, but it's not working :(
Specifically, I'm a sending POST request for "https://www.googleapis.com/games/v1management/achievements/reset" as detailed in that link.
AND, when I go to code.google com and check my Services, all the Play services are "ON".
Here is the output. How can I reset my achievements for testing? Am I even close? Apparently my "access is not configured" How do I do that? What was the point of the whole first 2 steps of the OAuth2.0 playground if not to grant my access?
HTTP/1.1 403 Forbidden
Content-length: 205
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
X-google-cache-control: remote-fetch
-content-encoding: gzip
Server: GSE
Reason: Forbidden
Via: HTTP/1.1 GWA
Cache-control: private, max-age=0
Date: Sun, 19 May 2013 04:11:38 GMT
X-frame-options: SAMEORIGIN
Content-type: application/json; charset=UTF-8
Expires: Sun, 19 May 2013 04:11:38 GMT
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "accessNotConfigured",
"message": "Access Not Configured"
}
],
"code": 403,
"message": "Access Not Configured"
}
}
This is how I got it to work:
Open the Google Play Developer Console, go to Linked Apps under Game Services and click Link another App -> Web, for the URL use https://developers.google.com/oauthplayground and complete the setup of this linked app. Make sure the same URL is listed as an authorized redirect URI.
Go to https://developers.google.com/oauthplayground and click on the gears icon in top right, select Use your own OAuth credentials, and copy the Client ID and Client secret for your Web app from https://code.google.com/apis/console.
For the Scope in OAuth Playground's Step 1 use https://www.googleapis.com/auth/games, which is found under Google Play Game Services API.
Do a POST to https://www.googleapis.com/games/v1management/achievements/reset or https://www.googleapis.com/games/v1management/achievements/resetAllForAllPlayers or whatever, leave all other options as is.
Profit :)
Note:
At first I was doing step 2. after step 3. and it gave me the 403
You must set your Client ID & Client Secret in Google Playground.
Click to right side of top "Setting Button". Set your credential information to there.
Finally click to first tab from left side of page. Select scopes and Authorize!
I couldn't get the POST request to work either, but you can reset your achievements by deleting and re-adding your tester account.
There's now a Reset button for draft Achievements and Leaderboards in the bottom of each entry.
Check out this tool which google has provided in their GitHub Repo
https://github.com/playgameservices/management-tools/tree/master/demo-management-tools
Using the tool you can manage Google Play Games Management API to manage and test Google Play Games Features which includes resetting of the Achievements and Leaderboard.
As WeirdElfBOy said, there is a reset button inside every achievement in your developer console. But the following requirements must be fulfilled to get the reset work:
it has to be a release signed apk which is installed for testing.
The app must be in alpha or beta test phase, using the same version of app that you have installed for testing (not rellay sure about that)
The Play Games settings for your app shouldn´t be published. You can only reset achievements for test users with an unpublished game. With game I mean the play games settings, not the app itself.
After pressing the reset, it needs long time to reset, in my test it needed about 1 hour, but maybe could be longer or shorter.
So for reset an achievement, you don´t need to use ManagementAPI.
But there is a little issue, I think it´s on Googles site and I reported it to Google. The reset doesn´t work on incremental achievements.
Open the Google Play Games app on your phone, go to settings, and then select "Delete Play Games data", scroll down, and delete data from your game.