Error 403 - Forbidden error when I'm trying to access ?WSDLs from browser in WSO2 - wsdl

Dears, I'm trying to access this URL through my browser: https://localhost:9443/services/OAuth2TokenValidationService?wsdl
But I'm getting error 403
I followed everything based on this doc,
please someone help me.

If you set <HideAdminServiceWSDLs>false</HideAdminServiceWSDLs> and restart the server this should work.

First understand what the 403 error means.
The error (HTTP 403 Forbidden) means that the browser was able to connect to the website, but it does not have permission to view the webpage.
So, check the user under which the process is running. If that user is not having the right permissions, then this error will pop out.
Kill the process id, and start the server with the correct user who is having the right permissions.

Related

How to resolve 403 - Forbidden: Access is denied. It works after I clear cookies of the browser

I Have uploaded my website and I am getting the following error after some time and after I clear the cookies of my browser, it started working fine. This error often occurs when I tried to open any link that needs user authentication it redirects to the login page one or two times then after that this error happens. I am also using some javascript 3rd party tools for live chat.
403 - Forbidden: Access is denied. You do not have permission to view this directory or page using the credentials that you supplied.
I have resolved this error by disabling the Web Application Firewall (ModSecurity) from my Plesk panel.

graph api token creations fails due to Unknown SSL protocol error in connection to login.window.net:443. Graph explorer also not working

I am trying to implement user creation in Azure AD. Tried graph explorer with the below link. But it is not working, showing "We had an issue sending this request to the Graph API".
https://login.windows.net/oauth2/token?api-version=2.0
Also tried in localhost, then shows:
Curl error: Unknown SSL protocol error in connection to
login.window.net:443
Please help me?
That link is to try and acquire a token. That is unnecessary in Graph Explorer. Just click the "Sign-in with Microsoft" button, and enter your tenant admin credentials. Then select POST for the operation and https://graph.microsoft.com/v1.0/users. In the request body put the properties that are required to created a new user, as described in https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/user_post_users. NOTE: When trying this operation, you may be required to consent for administrative permissions - make sure you select User.ReadWrite.All, and consent.
Hope this helps,

YouTube Analytics API : 403 Forbidden Error returns Earnings Report

I have a CMS account an I'm trying to get earnings data from content owners report on Analytics API using OAuth 2.0 . Whenever I'm trying to do this through my website, I get the following error ;
Error calling GET https://www.googleapis.com/youtube/analytics/v1/reports?ids=contentOwner%3D%3DContentOwnerID&start-date=2005-01-01&end-date=2015-11-26&metrics=views%2Cearnings%2Clikes%2Cdislikes%2Cshares%2Ccomments&dimensions=30DayTotals&filters=channel%3D%3DChannel_ID: (403) Forbidden
I'm doing the same thing on TRY IT page and it works fine.
I'm thinking that I'm having issues with authenticating my domain. What do you think is the problem? How can I solve this issue?
Thank you,
403 means nobody has access to a page. As you noticed, you may have access to a similar page, but not to this one. It is not a matter of authentication. Authentication problems give a status 401 (meaning it can be fixed by adding proper authentication); 403 cannot be fixed.
Finally, I solved the problem..
Whoever will have this issue, please use the CMS user's OAuth 2.0 credentials instead of using channel credentials..

ASP.NET OWIN Login with Microsoft Live ID - Invalid request and Google Redirect Url Mismatch

I have a site published on Azure, the social auth work correctly on every device an pc, except for one user whom keeps receiving the error invalid request, every time he tries to login using Microsoft.
I was thinking that the reason were that he is blocking cookies, but I tried this and did not get the same error.
He tries to access my site from IE and Chrome, and still gets the same error on every social network. But for everyone else this works just fine.
Someone knows what could be the reason of this error?
Here it is some captures about the URL received and the error page on Windows Live and Google:
Google URL error: https://accounts.google.com/o/oauth2/auth?scope=openid+profile+email&response_type=code&redirect_uri=https://wtm.azurewebsites.net/signin-google&state=xuugnYO6064L0MSO643UyrcDcDvZm_sqndpnUUR_Bn3e3lQkmtFTCq1ZrfMluCbMZhoIEX9G8Vrp-RxNwFHUyxvx_4mpoJVJZnR-n0LFDJyPazQ0ujUsQ6Jl2EIStNS0_EsnZOIZtIJySlgFrIr_TzjNBoih1APWLnGaLBb6wPaLuXQktAeTHeeUBTTnN9HWXi2WtPCYx08wX0N87XJa1kkk-mMcp-ro5UD5oO1EIE4&client_id=950525637185-3f4qu6vhoemqps16mk88mrcf49tn7hvo.apps.googleusercontent.com&hl=es-419&from_login=1&as=-6673ad9c11de7b4d
Microsoft Live URL error: https://login.live.com/err.srf?lc=5130#error=invalid_request&error_description=The%20provided%20value%20for%20the%20input%20parameter%20'redirect_uri'%20is%20not%20valid.%20The%20expected%20value%20is%20'https://login.live.com/oauth20_desktop.srf'%20or%20a%20URL%20which%20matches%20the%20redirect%20URI%20registered%20for%20this%20client%20application.&state=kZj77bUrMjKBFKTwBTVl_p7zkjcqWqBAe95pW-eQFanQaLWx9vHUpR5duFFcstJF4MKEUvBe_pymDNNc896dGPFDwNSP1-lQrsr0GYgtu2QtRJ6bdfQO4H0lCatbvW5yOs5DwD6_ItRL2irc6qitL03FkDEkiFUZYLAzhsUP6FjaEosTKGsnBXV0HljrRECl7RN2cuiuJWWJQJcxAUznC2Rj6zx76zkF-FNMHgFbvwM
I fixed the problem, he was using https instead of http, that were how the redirect URL were registered, I added this other URL redirection and now it works fine.
Thank you for your help!

FB_Graph: An error occurred. Please try again later

I am using fb_graph for my rails app.
I just followed nov/fb_graph app.
It was working fine till last week, i was able yo login and could get user information.
But suddenly i am getting error.
I didnt change anything in my app.
my app_id, screat_id everything is correct.
Even i am getting error when i close that facebook error window like
Graph::Auth::VerificationFailed
Facebook cookie not found
Could any one got through this error
this just because of URL mistake
whatever website url is specified should be correct.
i mentioned website url as http://localhost:3000/ and domain as localhost
but in my browser i was running http://0.0.0.0:3000/ that was the actual problem so i ran server as localhost:3000 now its working fine. Because we mentioned site url as localhost fb will redirect to same, if we r running 0.0.0.0:3000 it will rise error that Given URL is not allowed by the Application configuration.
thank you

Resources