Issue while loggin into aem after integrating sso - adobe

After integrating sso with aem I am able to login(after giving required credentials keep on switching between urls) into aem instance but unable to see welcome.html page as I can see infinite loop is happening in the browser between idp end point url and welcome page of aem. Added the idp url to apache referrer filter section as well. Still issue exits.Can someone suggest and help how to fix this issue.

Related

How to enable redirect in Drupal 9 on launch of application

I have enabled Keycloak authentication in a website built with Drupal. As soon as I launch the website I want to redirect to Keycloak's login page if the user is not signed in.
Is there any way to achieve this as soon as I open the website
I tried making the default front page of Drupal website as localhost:8080 (which is where Keycloak's login page is present) but was unable to do it.
If you are experienced with writing custom modules, you can write your own implementation of event subscriber. Here is a good example of it:
https://drupal.stackexchange.com/a/223109/5644
If not, then I recommend the module https://www.drupal.org/project/redirect - I am not 100 per cent sure if it lets you to specify redirect only for anonymous but it is definitely worth trying.
I am assuming that the integration with the Keycloak service is working and out of scope of this question.

Wordpress JSON API only working when logged in

I seem to be only able to access the wordpress json api when I am logged in in wordpress (no matter which endpoint, even on GET mypage.com/wp-json/). When I remove all cookies or logout and call the endpoint I get redirected to the login-screen.
Is this the desired behavior when I do not use nonces?
This happens on our staging environment, on our live-page everything works, I get results from the JSON API even if I am not logged in.
We created the staging site with the plugin from https://wp-staging.com/
So maybe there is a setting missing which has not been copied over? Or can I turn off checking for authentication / nonces on the API somewhere in the wordpress settings?
It turns out that the WP Staging Plugin has an option to limit access to the staging page which is set to "Administrators" by default. Turned it to "Allow access from all" and now it works.
On a WP website that I was asked to work on - it took me a lot of hours on debugging my own code (initially), then to start investigating the theme and finally deeper in other plugins and wp-core...
After all that, I found that the plugin members has functionality to restrict the rest_api access only to logged-in users.
There is a setting for this in the settings page of the plugin.
REST API -> Require authentication for access to the REST API.
So, I am posting this here, in case it could help someone else to avoid the same headache I encountered with this.

Wordpress admin login page inaccessible?

I get the following error when I try to access Wordpress admin login page of my client's site:
Sorry, your request cannot be accepted.
It opens for my client though. The client has not blocked my IP, or my country, then why is it happening?
Here is the wp-admin area. Does the page open for you?
Having a quick investigation, it looks like the issue is spawning from the plugin you have installed called IP Geo Block. https://wordpress.org/plugins/ip-geo-block/
I'd recommend disabling this plugin temporarily and attempting to login. If you're still having issues, it's worth creating a support ticket with that plugin maker.

Post Back To ASP.NET Boilerplate

NET Boilerplate Core project that redirects a user to an external payment gateway but when the gateway redirects back to the given url it redirects but i just get a screen that says cannot post. I don't know if someone has ran into this problem before and i cant seem to find a solution seeing that the the web site and service run independently.

CCAvenue integration error code 112 asp.net

We are integrating our approved CCAvenue to our ASP.NET site. We want to use iframe integration.
But as we use the url to ccavenue we get an error like
Error Code: 112
Don't worry... It happens to the best of us.
CCAvenue seems to have very poor documentation for integration. We couldn't find a page on their site where meanings of these error codes has been listed.
If anybody has previously done integration and can help us, we would be thankful.
Awaiting response from experts
Regards
Anshul
I integrated CCAvenue in PHP and i faced same problem. Later i found out that this error was caused because the Web Store URL defined in the settings and the URL (it was localhost in my case) i was testing from wasn't same.
You can check Web Store URL from the menu Settings->Gateway Settings.
After i tested it from that URL defined in Web Store URL, it was successful.

Resources