SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
VTtrivedi
Calcite | Level 5

Hello, We have built a portal in PHP(Laravel) + Angular for a client. User Authentication is done through LDAP.

Client also has a SAS solution for Analytics and it also has LDAP Authentication (SAS Viya).

We need to redirect the user from our portal to SAS portal and the user should get logged in automatically as both portals are authenticating the users through same LDAP.

We tried a few things, but it didn't help. 

 

I am looking for some guidance on how to implement this and if there is any programming/configuration required on our side or on SAS side.

 

Thank you in advance.

Regards,

VT

1 REPLY 1
AllanBowe
Barite | Level 11

Hi VT - as per my response to your identical question here:  https://stackoverflow.com/questions/70692638/ldap-sso-between-portal-built-in-laravel-and-sas

 

It's hard to be specific without fully understanding your use case, but you could look to handle authentication to Viya using the SASjs Adapter (disclaimer - my team built it):  https://github.com/sasjs/adapter

 

Just set the LoginMechanism to REDIRECTED in the config object to support SSO or alternative login flows. If you need help, my team can be contact on https://sasapps.io/contact-us, else just raise an issue on the github.

 

We have an implementation on Angular that may help: https://github.com/sasjs/angular-seed-app

/Allan
SAS Challenges - SASensei
MacroCore library for app developers
SAS networking events (BeLux, Germany, UK&I)

Data Workflows, Data Contracts, Data Lineage, Drag & drop excel EUCs to SAS 9 & Viya - Data Controller
DevOps and AppDev on SAS 9 / Viya / Base SAS - SASjs

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 682 views
  • 0 likes
  • 2 in conversation