Redirect to custom login page when openam cdsso enabled - openam

I have AM 6.0.0 (docker image - docker pull gcr.io/forgerock-io/openam:6.0.0) with a web agent and CDSSO enabled. I want to redirect to the custom login page. I have enabled custom login configuration and added a conditional URL but it always redirects to XUI (default login page).
Following are my custom property config:
App sends a request to openam/cdservlet then this one redirects to default login instead of the custom login page, I have tried to add just port or base hostname in conditional part but the same result.

Related

Redirect the home page to a specific page in Azure

If I type e.g. https://myurl.com in the browser I want this to redirect to https://myurl.com/news.php
How can I setup Azure to make this redirection?

How to redirect keycloak to a specific IDP when multiple IDPs are configured? kc_idp_hint

I would like a webbrowser user to be forwarded to the Keycloak account console via a specific IDP login, not showing the login browser page.
The keycloak url is https://id.spreitzer.ch
For example logging in via google:
https://google.id.spreitzer.ch -> general form https://<idp>.id.spreitzer.ch
What url should I forward browser users to?
I tried configuring the kc_idp_hint parameter, which did not work. For example:
htttps://id.spreitzer.ch/auth/realms/master/protocol/openid-connect/auth?client_id=xxx&redirect_uri=https://xxx&response_type=code&scope=openid&kc_idp_hint=google

Azure B2C redirect url not working when using server address

I have setup following as redirect URI's under registered app:
https://localhost:44332
https://myserver.com/v1/myapp
When I run the app locally and using localhost redirect URI, click on "signin/signup" its redirecting to b2c login page and successfully redirects to localhost.
But if I run app where its deployed "https://myserver.com/v1/myapp" and uses https://myserver.com/v1/myapp as redirect URI, and click on "signin/signup" it just reloads same page and not redirects to b2c login page.
I have tried to debugged same scenario and if uses https://myserver.com/v1/myapp my breakpoint doesnt hit "OnAuthorizationCodeReceived" but works as expected when uses localhost as redirect uri.
Basically I want user to browse app as https://myserver.com/v1/myapp, click on "Signin/Signup", provide b2c credentials and rediects back to https://myserver.com/v1/myapp as a logged in user.
what I missing here if redirecting users to server address instead localhost?
I have found the issue, it was due to mismatch reply uri (under app registration) and RedirectUri setup in web.config. These uri should match exactly once I have modified its able to redirect to b2c login page.

How to add 2nd sign in url at azure portal for a web app

Even after adding url in refirect uri, we are getting reply uri is not configured. Under F12 we see the auth request is trying to send redirect url as origin.*.com.
For any url we give auth request is aensing origin as the reply url.
How to add 2nd sign in url at azure portal for a web app?
Go to your application under App registrations->Authentication->Add a platform->Choose Web
Click Add URI to add URI.
By default aws will make the site names as origin.sirurl.
Once removing the origin it is working as expected

Kentico CMS: admin page https login issue

I am unable to login to CMS admin portal. It's redirecting to https: and giving me an error saying site cannot be reached.
Your web.config had a rule in it or your site settings are setup to redirect admin interface to SSL.
To resolve the issue:
remove the web.config entry
run a query directly against the database table cms_settingskey and update the key value to false.

Resources