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
MacroCore library for app developers
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

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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
  • 742 views
  • 0 likes
  • 2 in conversation