"Keycloak - Verify Email Issue" - keycloak

I am working with the JHipster built Application where we authenticate via Keycloak(version 4.4.0 final).
During verify email, I am receiving an email with a confirmation link to confirm email. In a few situations, the verification link is not working. Below I have mentioned the steps that I did and problems.
Steps:
Registration with chrome
Get mail for email verification
Close the chrome and restart
Try to use verification link
Problem:
1. If I closed the current browser window/ open link in private window/ open link in a different browser, the link is not working anymore.
Cause of the problem:
This problem is accrued because of the cookies that keycloak creating during registration. AUTH_SESSION_ID and KC_RESTART
Because when I close the browser window these cookies are no more in a browser.
If I try to use a verification link is the same browser window that I used for Registration than it’s working fine. Because in this browser window those two Cookies are stored.

With keycloak version 6.0.1,
they generating email verification link which supports to confirm from different browser...
this link is helpful to verify the email from a different browser and incognito window too.
cheers

Related

Firebase "Email link sign in" using "Custom domain" is not working. (for Flutter passwordless authentication)

Issue: When tapping on redirect link it gives Page Not Found.
What is expected: Tapping on the redirect link sent to your email should open up the app if it is installed.
Have tried the suggestions from most related solutions on StackOverflow and GitHub.
My custom domain in Hosting:
It is also authurized:
Dynamic links I made:
ActionCodeSettings URL prod project: https://myprodapp.com/login/welcome
firebase.json:
added to info.plist:
Associated domain for iOS
Callback URL:
Android
iOS
Need to mention we have two firebase projects connected to our flutter app - one for the development environment (dev) and the other for the product environment (prod). Passwordless sign in with the firebase default domain works on dev environment for only Android. So seems the coding part works fine.

facebook and gmail not open login page in safari in simulator

I have integrated facebook and gmail in my app but when i redirect user to safari for login i am not able to open facebook or google page for loginin safari in simulator. it gives me error like "safari can not open the page because it can not establish secure connection to the server."
Any one knows what is solution to resolve this issue?
Thanks in advance.
Below are common issues in such cases
Disable 'Auto Proxy discovery' in proxy settings of your Mac
You are behind a proxy
You are using a Antivirus which has WebShield of similar feature enabled. Disable the antivirus and try again
Your simulator's date & time are not sync to current date. Certificates don't validate fine when system date is skewed
Rebooting the simulator also at times help
Below are the threads you should look into
Can't visit website on iOS Simulator—'This Connection Is Not Private'
iOS simulator can't access any URL and shows the error "This connection is not private"
iOS Simulator not works on https, all https are evaluated as not trusted
Can't use HTTP in iOS 8 simulator
iPhone simulator cannot connect to internet
I fixed this by disabling Avast Web Shield.
I have Avast Antivirus installed and adding facebook url to the configuration of the internet scanning service allowed me to fix this problem.

Windows Universal Application Facebook login with error "not logged in you are not logged in please login and try again"

When I try to login to my Windows universal app through facebook login, I get the following error.
"not logged in you are not logged in please login and try again."
I am using winsdkfb but understand that this issue is not reported only in Windows platform and do not think the problem is with wisdkfb library. I had gone through the same issue reported in Android and iOS but the solution did not helped me in windows platform.
This facebook login was working fine earlier and I have a platform configurations already available in "Facebook Login" tab of developer settings. I have configuration for windows Store and Windows Phone with corresponding SID. Login is working in Windows Phone but for desktop, it was giving the above error.
I tried uninstalling and re-installing the application, removed and added the Windows platform configuration in developer.facebook.com as per the suggestion from multiple forums but none of these testings solved this issues.
Below settings is required in the developer.facebook.com for this to work.
Under Products -> "Facebook Login" -> "Client OAuth Settings" -> "Valid OAuth redirect URIs", enter the below URL.
"https://www.facebook.com/connect/login_success.html"
This was not required earlier but when there were other configurations added, this redirect URL became mandatory and it started failing for the Login requests.
So please make sure to test all the facebook integration related features after doing any developer.facebook.com configuration changes.
Hope this helps others with similar issues.

Facebook app hosted on SSL gives "Connection not trusted" error for some visitors

I have developed a Facebook app that works well for me using IE11, FireFox latest and Chrome latest.
I am hosting it on my domain with an SSL certificate, and the app is set up correctly in Facebook Developer portal.
The client, however, see "Connection not trusted" error message using FireFox latest.
I also occasionally get this problem when browsing https to some of my other domains using my phone, so I do not think this is in particularly a Facebook problem, but more something with my hosting or SSL certificates as my host installed them.
My question is: What can cause "Certificate not trusted" errors intermittently? Thanks!
It seems that one of the site URLs needed a '/' at the end. The problem is gone after adding that '/'.

FB canvas app Chrome and https

Why chrome is not showing my canvas application on facebook ?
It will show it when you surft direct to it om our domain. But it will give the error below when accessing it it through the apps.facebook.com domain.
We are running on a self signed certificate. Using Firefox on fb canvas app gives you an option if i want to continue surfing an insecure site. Chrome will show an error with no options.
This webpage is not available
might be temporarily down or it may have moved permanently to a new web address.
Error 501 (net::ERR_INSECURE_RESPONSE): Unknown error.
Google chrome version 16.0.912.63 m
Had the same problem and solved it by going to my local canvas site, exported the certificate (as p7b) and imported it again into Chrome. There was an older local certificate installed, maybe that was the problem.