Using MGT reactjs to build 3tier app

%3CLINGO-SUB%20id%3D%22lingo-sub-3007522%22%20slang%3D%22en-US%22%3EUsing%20MGT%20reactjs%20to%20build%203tier%20app%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-3007522%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3EI%20am%20learning%20authentication%20and%20authorization%20and%20I%20think%20MGT%20seems%20to%20be%20a%20good%20starting%20point.%3C%2FP%3E%3CP%3ESo%20I%20have%20followed%20the%20tutorials%20and%20managed%20to%20build%20the%20basic%20MGT%20reactjs%20app%2C%20which%20is%20using%20the%20login%20component%20to%20trigger%20the%20login%20(authentication)%20process%20and%20then%20using%20the%20Agenda%20component%20to%20show%20the%20calendar%20events.%3C%2FP%3E%3CP%3EThe%20below%20steps%20I%20have%20no%20idea%20how%20to%20do%20and%20any%20help%20would%20be%20greatly%20appreciated.%3C%2FP%3E%3COL%3E%3CLI%3E%3CSPAN%3Efrom%20the%20UI%20pass%20the%20access%20token%20to%20my%20webapi%20hosted%20on%20Azure%20Web%20App%20and%20verify%20the%20token%20is%20valid%20%3C%2FSPAN%3E%3C%2FLI%3E%3CLI%3E%3CSPAN%3ECheck%20the%20user's%20email%20has%20an%20entry%20in%20my%20Azure%20hosted%20database%3C%2FSPAN%3E%3C%2FLI%3E%3C%2FOL%3E%3CP%3E%3CSPAN%3Eregards%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%3CSPAN%3EAlex%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-3007522%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAPI%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Eapp%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Occasional Visitor

Hi

I am learning authentication and authorization and I think MGT seems to be a good starting point.

So I have followed the tutorials and managed to build the basic MGT reactjs app, which is using the login component to trigger the login (authentication) process and then using the Agenda component to show the calendar events.

The below steps I have no idea how to do and any help would be greatly appreciated.

  1. from the UI pass the access token to my webapi hosted on Azure Web App and verify the token is valid
  2. Check the user's email has an entry in my Azure hosted database

regards

Alex

 

0 Replies