Local Kong API Gateway for apache server? how You should call the URL of kong and get redirected to the Apache server? - apache2

how You should call the URL of kong and get redirected to the Apache server?
how You should call the URL of kong and get redirected to the Apache server?

Related

How to add a redirect url with a parameter(guid) in identity server 4?

I am trying to redirect the user to where they were in an application where it uses identity server 4 as the auth provider. The issue here is where the request is being made has a guid on the URL.
e.g. https://test.com/todo/bc91d6f5-f71d-401b-899f-f2d921b811d7
I have tried adding a wildcard (https://test.com/todo/*) in the client config of the identity server but it didn't work. Is this possible to do it on identity server 4?

Odoo SSO With Azure AD

We installed odoo 12 and try to connect with azure AD. Users are authenticated successfully via Azure AD OAuth but it showing error AADSTS50011: The reply url specified in the request does not match the reply urls configured for the application.
This error usually occurs when the redirect_uri in the authorization request mismatch the redirect url configured in Azure portal.
You can find the redirect_uri in the authentication url:
https://login.microsoftonline.com/{tenant}/oauth2/authorize? client_id=6731de76-14a6-49ae-97bc-6eba6914391e &response_type=code &redirect_uri=http%3A%2F%2Flocalhost%3A12345 &response_mode=query &resource=https%3A%2F%2Fservice.contoso.com%2F &state=12345
Copy the value of redirect_uri and paste it to Azure portal(Authentication->redirect URI).

Setup URL redirection in SSRS without using IIS

We're using SSRS 2016 & SQL SERVER 2016 in our environment and don't want to use IIS. We've a requirement to re-direct report manager URL to Target URL (Similar to URL rewrite function of IIS).
For example:
http://ssrs01/pages/redirect.aspx?redirectnewurl
When someone access above URL they should be automatically routed to - "redirectnewurl"
I did research a lot and found this link useful which redirects from http: to https:
https://www.experts-exchange.com/questions/26319133/SSRS-2008-R2-How-to-redirect-URL-from-http-to-https-when-IIS-not-installed.html
But we don't have any need to use SSL as it is only internal environment and looking for any other optimal solution by changing web.config file in my reporting server

Tomcat internet explorer kerberos authentication 401 un authorized

We configured tomcat to work with windows authentication using kerberos (we want SSO).
From a different client machine via Internet Explorer we send HTTP Get, the browser returns 401 and the header say Negotiate.
We configured internet explorer to use Integrated security and added the tomcat site address as local intranet.
On the tomcat logs i see:
Loaded from Java config
>>> KdcAccessibility: reset
>>> KrbCreds found the default ticket granting ticket in credential cache.
>>> Obtained TGT from LSA: Credentials:
client=wfuser#MY.DOM
server=krbtgt/MY.DOM#MY.DOM
authTime=20160111063609Z
startTime=20160111063609Z
endTime=20160111163609Z
renewTill=null
flags=INITIAL;PRE-AUTHENT
EType (skey)=17
(tkt key)=18
Search Subject for SPNEGO ACCEPT cred (<<DEF>>, sun.security.jgss.spnego.SpNegoCredElement)
Search Subject for Kerberos V5 ACCEPT cred (<<DEF>>, sun.security.jgss.krb5.Krb5AcceptCredential)
Found ticket for wfuser#MY.DOM to go to krbtgt/NIA.DOM#MY.DOM expiring on Mon Jan 11 18:36:09 IST 2016
What could be the issue ? Is this an internet explorer issue ? or maybe tomcat issue ?
The client and Tomcat server appear to be in different Kerberos realms (I will assume controlled by Active Directory due to the way you tagged your post). That is, the Active Directory domain client is in MY.DOM and but the Tomcat server in NIA.DOM. For this to work as you're expecting, they'll need to be in the same AD domain/Kerberos realm. According to the log snippet, the client and KDC show in the same realm - MY.DOM - according to this:
>>> Obtained TGT from LSA: Credentials:
client=wfuser#MY.DOM
server=krbtgt/MY.DOM#MY.DOM
But the Tomcat server must not be, because it seems to be asking the client for a referral ticket from a Kerberos realm named NIA.DOM.
Found ticket for wfuser#MY.DOM to go to krbtgt/NIA.DOM#MY.DOM expiring on Mon Jan 11 18:36:09 IST 2016
Examine the AD Trust relationship between MY.DOM and NIA.DOM and make sure it is two-way and not broken.

AngularJS Server session & authentication with nodeJS backend server

I have a front-end angularJS server that is getting data from a back-end nodeJS server from MySQL DB via middleware.
I created a front-end simple login form that needs to send data for authentication to the back-end server (checks if user exists in the db).
The back-end server returns user details in the case that the user is found in the DB or prints error login message or redirect to signup screen.
I'm looking for a guide or example on how to create a correct authentication system with sessions and cookies between the two servers.
Thank you.
You should choose use a token authentication or use cookies.
Take a look at this,it is a good guide :
http://code.tutsplus.com/tutorials/token-based-authentication-with-angularjs-nodejs--cms-22543

Resources