Hello All, I'm looking to implement SSO kind of fe...
# cfml-general
a
Hello All, I'm looking to implement SSO kind of feature with my APIs So basically i have a requirement where we have few APIs, and those APIs should be accessible from our authenticated clients. Like on single singin they can also access our APIs but with full authentication & security. Can anyone please suggest/guide me the best way to achieve this implementation. Thanks in advance
v
We are doing somewhat similar with OAuth 2.0 token All API will be in a folder with application.cfc file OnRequestStart() - Validate the token for its security and authority before calling the actual API
t
have a look at https://www.keycloak.org/ and I would recommend OpenId Connect rather than straight OAuth2 as the concepts are better defined
a
Thanks for the reply guys
@Viral So in the scenario of using token , the client or user should have our token is with them, Then only the token can be passed and use to access the API,
1
@Viral @thisOldDave How about SAML, Is there any idea about this protocol?
v
@Angad Yadav: No idea of SAML connecting with the CF API
👍 1
t
you can use SAML with keycloak, but with cf you will need to fall back to java. you could create a token and pass it with the saml response but it is a whole heap of nasty over and above OAuth/OIDC
a
@thisOldDave Okay thanks for the suggestion, i'll try and ask if anything needed