Skip to content
Prev Previous commit
Next Next commit
Changes in variable names and deleting extra files
  • Loading branch information
abhidnya13 committed Apr 23, 2019
commit a3d0eeddcea38294449a0587c2a6e0dfc49522e9
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def main_logic():
logging.info("No suitable token exists in cache. Let's get a new one from AAD.")
result = application.acquire_token_by_authorization_code(code, scopes=config["scope"],
redirect_uri=config['redirect_uri'])
return flask.render_template('display.html', graph_data=result)
return flask.render_template('display.html', auth_result=result)


if __name__ == "__main__":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Here is the data from Microsoft Graph !!</title>
<title>Acquire Token Result </title>
</head>
<body>
<p1><b>User Data:</b> </p1>
<table>
{% for key, value in graph_data.items() %}
{% for key, value in auth_result.items() %}
<tr>
<th> {{ key }} </th>
<td> {{ value }} </td>
Expand Down
61 changes: 0 additions & 61 deletions sample/certificate_credential_sample.py

This file was deleted.