final version
This commit is contained in:
parent
66f14072ce
commit
20775376dc
3
app.py
3
app.py
@ -6,11 +6,10 @@ from onelogin.saml2.utils import OneLogin_Saml2_Utils
|
||||
|
||||
app = Flask(__name__)
|
||||
app.config['SAML_PATH'] = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'config')
|
||||
app.config['SECRET_KEY'] = 'onelogindemopy'
|
||||
app.config['SECRET_KEY'] = 'client-saml'
|
||||
|
||||
|
||||
# TODO call dummy-server
|
||||
# TODO add email in claims
|
||||
# TODO reuse token_data display from client-oidc
|
||||
|
||||
|
||||
|
@ -5,9 +5,10 @@
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>A Python SAML demo</title>
|
||||
<title>SAML demo</title>
|
||||
|
||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">
|
||||
<!-- <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">-->
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
@ -18,7 +19,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>A Python SAML demo</h1>
|
||||
<h1>SAML demo</h1>
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user