You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a webapp with symfony5 and I like to include some external services to my users. I do this with simplesamlphp. You can setup a symfony-project with simplesamlphp, but simplesamlphp has it's own web-folder, so you can say, it's outside the symfony-world. In this other world I like to validate if the user (from symfony) is authenticated. This happens in simplesaml in a custommodule.
In this customscript I have to setup the minimum-code for validate an existing and authenticated user. So I copied the most important lines from the public/index.php to my customcode, but I have no idea how to validate the authenticated user. Goal is to get a $user if an authenticated user exist - if not then NULL.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everybody,
I have a webapp with symfony5 and I like to include some external services to my users. I do this with simplesamlphp. You can setup a symfony-project with simplesamlphp, but simplesamlphp has it's own web-folder, so you can say, it's outside the symfony-world. In this other world I like to validate if the user (from symfony) is authenticated. This happens in simplesaml in a custommodule.
In this customscript I have to setup the minimum-code for validate an existing and authenticated user. So I copied the most important lines from the public/index.php to my customcode, but I have no idea how to validate the authenticated user. Goal is to get a $user if an authenticated user exist - if not then NULL.
In my auth-class I started with:
I hope you understand my problem. May some you had the same problem and can give me a solution or some help.
Thanks,
Stephan
Beta Was this translation helpful? Give feedback.
All reactions