laravel upgraded 5.4 to 5.5 and having issue of 401 unauthorized ajax - laravel-5.5

I have upgraded my application Laravel version 5.4 to 5.5.
Having issue for passport , I have updated that also with 4.0
But still getting 401 (Unauthorized)

Related

403 error when importing a new JSS app to Sitecore 10.2

When trying to import a newly generated JSS application into Sitecore, the jss deploy app --includeContent --includeDictionary returns the following error:
Unexpected response from import service:
Status message: Forbidden
Status: 403
Version info:
Sitecore version 10.02
JSS Version: 19.0
For jss setup, I specify the Sitecore instance as NOT accessible via a network share.
It may be issue due to JSS version, i also had jss deploy issue, details are: https://rinkusitecore.wordpress.com/2021/03/20/app-deploy-issueforeach-import-for-sitecore-jss-using-sitecore-9-3/
It seems for sitecore 10.0, need jss version 15, checkout: https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services.aspx
So try to create your app based on jss version 10 like jss create react -b release/15.0.0
But In your title you mentioned sitecore 10.2, in that case JSS version is correct (https://dev.sitecore.net/Downloads/~/link.aspx?_id=B5D60A30ADD1495C9B011E793AF6884F&_z=z)
So confirm it first.

AWS Elastic Search Upgrade 2.3 to 5.5 illegal_argument_exception

We recently upgraded from aws Elasticsearch service 2.3 to 5.5 and in the 5.5 version the pre-signed urls are not working (working for 2.3).
illegal_argument_exception is raised with the following message:
unrecognized parameters: [X-Amz-Algorithm], [X-Amz-Credential], [X-Amz-Date], [X-Amz-Expires], [X-Amz-Signature], [X-Amz-SignedHeaders].

Is possible to install WSO2 Identity server features on WSO2 App Server?

I have tried several options to install IS on App Server and using different repositories but it always complains about some packages. What is the easy way to get the correct dependencies and repositories?
This is an example of the errors:
Cannot complete the install because of a conflicting dependency.
Software being installed:
STS Feature 4.2.1 (org.wso2.carbon.sts.feature.group 4.2.1)
Software currently installed: WSO2 Carbon - Carbon Feature 4.4.1 (org.wso2.carbon.core.feature.group 4.4.1)
Only one of the following can be installed at once: WSO2 Carbon -
Carbon Feature 4.4.1 (org.wso2.carbon.core.feature.jar 4.4.1) WSO2 Carbon -
Carbon Feature 4.2.0 (org.wso2.carbon.core.feature.jar 4.2.0)
What version of IS and what version of App Server are you running? I have never tried to implement the scenario you are but I could see you getting that type of error if the version of App Server you are running is on Carbon 4.4 and the version of IS is still on Carbon 4.2. The current 5.0 release of IS runs on Carbon 4.2 but I think the 5.1 release of IS runs on Carbon 4.4 and should be available before long.
Joe

Error using Django Facebook

I am trying to use Django Facebook to register users in my app.
Right now I am in local develoment and after giving persmissions to the app in Facebook and following all indications in readthedocs, I get the next error:
Please specify a Facebook app id and ensure the context processor is enabled
Django version: 1.8
Python version: 3.8
This was an error django-facebook code, which has been fixed. Make sure you are using django-facebook 6.0.4 or later. Even if the latest model is not yet shipped you can get it by doing pip install git+git://github.com/tschellenbach/Django-facebook.git

django-cors-headers stop working for Django 1.6.11

I'm currently using Angular4 with django-nonrel as the backend. Got the CORS error at the beginning and installed django-cors-headers to give django support for CORS. I had to install version 1.1.0 because django-nonrel supports
up to django 1.6.11. Everything was working perfectly so far for several weeks, but after I turned off my laptop today I started getting the CORS error again.
Django
ConnectionFailure: [Errno 10061] No connection could be made because
the target machine actively refused it
Angular
XMLHttpRequest cannot load http://127.0.0.1:8000/pgla/project_list. No
'Access-Control-Allow-Origin' header is present on the requested
resource. Origin 'http://127.0.0.1:4200' is therefore not allowed
access. The response had HTTP status code 500
I verify the installing instructions for the django-cors-headers module and everything is correct. Here are my settings:
MIDDLEWARE_CLASSES = (
...
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
)
CORS_ORIGIN_ALLOW_ALL = True
And here is the hearder paremeter for Angular:
new Headers({'Content-Type': 'application/json', 'Access-Control-Allow-Origin': '*'}),
Django corsheaders works with django 1.8 and above. Please upgrade your django version and then try again.
Requirements
Tested with all combinations of:
Python: 2.7, 3.6
Django: 1.8, 1.9, 1.10, 1.11, 2.0