File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11AUTH0_CLIENT_ID = {CLIENT_ID}
2+ AUTH0_CLIENT_SECRET = {CLIENT_SECRET}
23AUTH0_DOMAIN = {DOMAIN}
34APP_SECRET_KEY = ALongRandomlyGeneratedString
Original file line number Diff line number Diff line change 2222oauth .register (
2323 "auth0" ,
2424 client_id = env .get ("AUTH0_CLIENT_ID" ),
25+ client_secret = env .get ("AUTH0_CLIENT_SECRET" ),
2526 client_kwargs = {
2627 "scope" : "openid profile email" ,
2728 },
Original file line number Diff line number Diff line change 66 < body >
77 {% if session %}
88 < h1 > Welcome {{session.userinfo.name}}!</ h1 >
9- < p > < a href ="/logout "> Logout</ a > </ p >
9+ < p > < a href ="/logout " id =" qsLogoutBtn " > Logout</ a > </ p >
1010 < div > < pre > {{pretty}}</ pre > </ div >
1111 {% else %}
12- < h1 > Welcome Guest</ h1 >
13- < p > < a href ="/login "> Login</ a > </ p >
12+ < h1 id =" profileDropDown " > Welcome Guest</ h1 >
13+ < p > < a href ="/login " id =" qsLoginBtn " > Login</ a > </ p >
1414 {% endif %}
1515 </ body >
1616</ html >
You can’t perform that action at this time.
0 commit comments