Function to sso a 3rd party app

Hi, I’m trying to build a function api http trigger that accepts a return url, authenticates a user against aad then grabs info like name, email address and groups , takes that info determines role from groups and creates a jwt token with it to send back to the return url.

I have a trigger that authenticates and returns json info on the user. Does anyone have examples of parsing the json and creating a jwt token with it to send back?

submitted by /u/sullivanindy
[link] [comments]

Leave a Reply