i m using AngularJS and nodeJS application for UI development.
Using the Keycloak for user authentication purpose with the help of keycloak-connect libraray.
with this everything works fine.
But i want to achieve multi tenancy in keycloak,
Based on a particular realm i should be able to redirect to a particular keycloak login page.
Can we load keycloak.json file dynamically based on a particular realm using nodeJS
Are there any library available to achieve the same.
Thank you,
Vinay
Related
I have a frontend React application in the visual part of which I want to protect with Keyclock. I also have an admin panel - node js of the application whose routes I also want to protect using Keycloak.
Can I create just one Realm for them in Keycloak in order to use just one token?
Or what are the best practices for this?
Thanks for any information!
I'm working on a project that uses Bluemixes APP-ID for authentication and are using Node.js for our backend. What I want to do is to be able to login with the App-ID authentication (that uses passport.js) and use this token in my Angular5 project and from there be able to store new user-specific attributes.
What is the proper way of doing this?
Thankful for any answers :)
After some research, it seems like the way forward is to create an endpoint in the Node.js that one then uses with the angular project. Just make sure the endpoint also is protected by the webAppStrategy if using that.
I need to let my users connect to another web App through SSO , but the other app uses Saml as its standard protocol for SSO , I found Onelogin/phpSaml which a lot of people seems to use but i didn't quite understand it .
my situation is as follows : in this case i am the Service Provider and his App is the IdP , whant i want to know is how to use it under Syomfony.
where to save SP data and IDP data ? where do i put the data to be auth with (foreach user there is different data to be sent ) .
Thank you
Instead of building your own integration of php-saml at symfony you should review this package:
https://github.com/hslavich/OneloginSamlBundle
It already take care of php-saml settings, sso on app, just-in-time provisioning,..
I have to integrate Single Sign-on in existing project. I have basic knowledge of how SSO works.
What I have already in my existing project is -
UI created in ReactJS.
APIs are in Express with PostgreSQL database.
Both are hosted on different server and communicate using APIs only.
What's going in the project -
Registration with more than ten custom fields
Login and Logout.
My need -
Implement Single Sign-on functionality
My questions -
Name of few Single Sign-on providers?
Where custom registration fields will be saved and how?
Which logic implement in ReactJS and Express?
try json web token.
https://jwt.io/introduction/
and there are so many jwt tutorials you can google them.
we would like to develop a new node.js based application using some SSO technology.
More applications will join then after using the same SSO infrastructure and logic.
We do not have specific requirements on the SSO itself, but it need to authenticate users
via a local DB (managing user name and passwords)
via our enterprise AD
via some external/federated SSO (I guess via SAML or so)
Also if it would support XACML it would be great.
I believe one of the most complete solutions on the market is the WSO2 Identity Server... but we would be open for others too.
The main question though is simply:
Is it possible to have such a solution in node.js?
Or do we need to shield node.js behind some (Apache) server to get SSO?
What would be the best approach?
Any inputs would be appreciated.
I've used azure active directory in my node.js projects for authentication, this might work as you are using active directory. Here is a sample.