SP 2013/2016 on-premise - Pass authentication (token?) to external REST API

%3CLINGO-SUB%20id%3D%22lingo-sub-90718%22%20slang%3D%22en-US%22%3ESP%202013%2F2016%20on-premise%20-%20Pass%20authentication%20(token%3F)%20to%20external%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-90718%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20concerns%20SharePoint%202013%2F2016%20on%20premises%20-%20NOT%20online%2C%20Azure%20is%20not%20in%20the%20picture%20-%20no%20SPFx%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ECan%20I%20from%20a%20web%20part%20call%20an%20external%20REST%20API%20and%20pass%20the%20user's%20identity%20in%20the%20request%20%3F%3C%2FP%3E%3CP%3EHow%20can%20the%20external%20REST%20API%20verify%20the%20user's%20identity%20is%20genuine%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBoth%20web%20part%20and%20external%20REST%20API%20are%20under%20my%20control.%20I%20can%20contact%20SharePoint%20from%20the%20REST%20API%20for%20example.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-90718%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-150838%22%20slang%3D%22en-US%22%3ERe%3A%20SP%202013%2F2016%20on-premise%20-%20Pass%20authentication%20(token%3F)%20to%20external%20REST%20API%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-150838%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHave%20you%20already%20found%20a%20solution%20for%20your%20problem%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EKind%20regards%2C%3C%2FP%3E%0A%3CP%3EMatthias%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

This concerns SharePoint 2013/2016 on premises - NOT online, Azure is not in the picture - no SPFx 

 

Can I from a web part call an external REST API and pass the user's identity in the request ?

How can the external REST API verify the user's identity is genuine ?

 

Both web part and external REST API are under my control. I can contact SharePoint from the REST API for example.

 

Thanks

1 Reply

Hi,

 

Have you already found a solution for your problem?

 

Kind regards,

Matthias