Process to get the calendar data

A SITSD reprenstative initially sets up an Azure application that has the Outlook 365 calendar information. Once this application is set up I am granted access to the application and given three pieces of information. The Application or Client ID, the Tenant ID and the Client Secret.

These three items are used to get a secure key called a JWT (Javascript Web Token). It is encrypted with all the information needed to gain access to the particular calendar.

  1. Application / Client ID: 23ac5172-9ae6-44ec-a81e-3fe23b3650e4
  2. Tenant ID: 07a94c98-f30f-4abb-bd7e-d63f8720dc02
  3. Client Secret: ???
JWT Example Below

eyJ0eXAiOiJKV1QiLCJub25jZSI6ImJtVFlmbkFVRUkNVQi1ESFBQdnZLY2I0TmMiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1HTHFqOThWTkxvWGFGZnBKQ0JwZ0I0SmFLcyIsImtpZCI6Ik1HTHFqOThWTkxvWGFGZnBKQ0JwZ0I0SmFLcyJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC8wN2E5NGM5OC1mMzBmLTRhYmItYmQ3ZS1kNjNmODcyMGRjMDIvIiwiaWF0IjoxNzE5MjQxNzUzLCJuYmYiOjE3MTkyNDE3NTMsImV4cCI6MTcxOTI0NTY1MywiYWlvIjoiRTJkZ1lMZ25ZWFVoY285VlFNNkhhLzNKaDVzL0FnQT0iLCJhcHBfZGlzcGxheW5hbWUiOiJFTlQgTVNMIENhbGVuZGFyIEFjY2VzcyIsImFwcGlkIjoiMjNhYzUxNzItOWFlNi00NGVjLWE4MWUtM2ZlMjNiMzY1MGU0IiwiYXBwaWRhY3IiOiIxIiwiaWRwIjoiaHR0cHM6Ly9zdHMud2luZG93cy5uZXQvMDdhOTRjOTgtZjMwZi00YWJiLWJkN2UtZDYzZjg3MjBkYzAyLyIsImlkdHlwIjoiYXBwIiwib2lkIjoiZDllODY3N2UtYzNiYy00NWMzLWI3ODQtZWE2Y2IyMTQ0ZjhmIiwicmgiOiIwLkFXOEFtRXlwQndfenUwcTlmdFlfaHlEY0FnTUFBQUFBQUFBQXdBQUFBQUFBQUFCdkFBQS4iLCJyb2xlcyI6WyJDYWxlbmRhcnMuUmVhZCJdLCJzdWIiOiJkOWU4Njc3ZS1jM2JjLTQ1YzMtYjc4NC1lYTZjYjIxNDRmOGYiLCJ0ZW5hbnRfcmVnaW9uX3Njb3BlIjoiTkEiLCJ0ZW5hbnRfcmVnaW9uX3N1Yl9zY29wZSI6IkdDQyIsInRpZCI6IjA3YTk0Yzk4LWYzMGYtNGFiYi1iZDdlLWQ2M2Y4NzIwZGMwMiIsInV0aSI6IjI3ODNhU0pHUVVLTExjdDdjTFpfQUEiLCJ2ZXIiOiIxLjAiLCJ3aWRzIjpbIjA5OTdhMWQwLTBkMWQtNGFjYi1iNDA4LWQ1Y2E3MzEyMWU5MCJdLCJ4bXNfaWRyZWwiOiI3IDMwIiwieG1zX3RjZHQiOjE0MDg1NDg1MjF9.iG5P5vsih5Mrr4IWf2ugacuOguSSK-2yrUBYUVKMB89aqEFj4Cu2r-NHrsUrtki1DRwrglL1i_3iHT__bkToY_L8-S5QRuVJ0YEs2o5yI0gLdE10APC-24qMOEa08vRt5cptZzKBOkqwv04kUfG4HyH9nSQxRpMLhA4MoP3xA_iBKHiPzmrXyFzU9s7DfwRTqbKawC5AuIb4I8XJygStMTRv4hDfLkiWfoJbrrJT3jiAU_nvKYe5MTrVNP8bRk0G48ZOYe4O1hNEd1-k1rQlNrzfeb8PSxtQji_Hy6cHuDJVdoFjvYJTkNpv_WXIhO3FydLI5qTJvfy9mOj2E97mRQ

The JWT is then added to the request header to gain access to the client calendar. Once the access is verified and if successful, a JSON file is returned containing the calendar requested, in our case I am requesting:

  1. Subject
  2. Start
  3. End
  4. Location
  5. Content
  6. weblink (if applicable)

This information is then displayed on a javascript calendar plug-in named FullCalendar. This calendar is very customizable and is fully compliant with all federal and state ADA guidelines and requirements.

Here is a sample calendar to show how it will appear when rendered