Merge branch 'daplie.me' into issuer-rewrite
This commit is contained in:
		
						commit
						3645d66f5c
					
				
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1,3 +1,4 @@
 | 
			
		||||
*.*sw*
 | 
			
		||||
bower_components/
 | 
			
		||||
assets/
 | 
			
		||||
.DS_Store
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										
											BIN
										
									
								
								img/.DS_Store
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								img/.DS_Store
									
									
									
									
										vendored
									
									
								
							
										
											Binary file not shown.
										
									
								
							
							
								
								
									
										38
									
								
								index.html
									
									
									
									
									
								
							
							
						
						
									
										38
									
								
								index.html
									
									
									
									
									
								
							@ -1,26 +1,26 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html>
 | 
			
		||||
    <head>
 | 
			
		||||
        <meta charset="utf-8">
 | 
			
		||||
        <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
        <title>Login Facilitator: OAuth3.org</title>
 | 
			
		||||
        <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
 | 
			
		||||
	      <!-- <link rel="stylesheet" type="text/css" href="/css/style.css"> -->
 | 
			
		||||
        <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato:300">
 | 
			
		||||
        <script src="https://use.fontawesome.com/3af0faae66.js"></script>
 | 
			
		||||
        <link rel="stylesheet" type="text/css" href="/css/daplie-installer-overrides.css">
 | 
			
		||||
    </head>
 | 
			
		||||
  <head>
 | 
			
		||||
    <meta charset="utf-8">
 | 
			
		||||
    <meta name="viewport" content="width=device-width, initial-scale=1">
 | 
			
		||||
    <title>Login Facilitator: OAuth3.org</title>
 | 
			
		||||
    <link rel="stylesheet" type="text/css" href="/css/bootstrap.min.css">
 | 
			
		||||
    <!-- <link rel="stylesheet" type="text/css" href="/css/style.css"> -->
 | 
			
		||||
    <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Lato:300">
 | 
			
		||||
    <script src="https://use.fontawesome.com/3af0faae66.js"></script>
 | 
			
		||||
    <link rel="stylesheet" type="text/css" href="/css/daplie-installer-overrides.css">
 | 
			
		||||
  </head>
 | 
			
		||||
 | 
			
		||||
    <body class="fade mock-main">
 | 
			
		||||
  <body class="fade mock-main">
 | 
			
		||||
 | 
			
		||||
        <!-- STEP 1: ask the user where they want to log in -->
 | 
			
		||||
        <!-- STEP 2: ask the user for their email -->
 | 
			
		||||
        <!-- STEP 3+4: ask for login code and to remember device -->
 | 
			
		||||
        <!-- TODO: remember-me-not implementation? -->
 | 
			
		||||
    <!-- STEP 1: ask the user where they want to log in -->
 | 
			
		||||
    <!-- STEP 2: ask the user for their email -->
 | 
			
		||||
    <!-- STEP 3+4: ask for login code and to remember device -->
 | 
			
		||||
    <!-- TODO: remember-me-not implementation? -->
 | 
			
		||||
 | 
			
		||||
        <!--  <button class="btn btn-secondary js-authz-show js-authz-remember-me-not">Just this once</button>-->
 | 
			
		||||
    <!--  <button class="btn btn-secondary js-authz-show js-authz-remember-me-not">Just this once</button>-->
 | 
			
		||||
 | 
			
		||||
        <!-- Step 5: ask for permissions -->
 | 
			
		||||
    <!-- Step 5: ask for permissions -->
 | 
			
		||||
 | 
			
		||||
    <div class="dap-bordered js-userid-container">
 | 
			
		||||
      <p class="org-title">daplie.me</p>
 | 
			
		||||
@ -92,7 +92,7 @@
 | 
			
		||||
        <span class="fa fa-2x fa-gray fa-plus"></span>
 | 
			
		||||
        <img class="dap-lab-logo" src="./img/Daplie-Badge-Purple.png" alt="Daplie Labs Logo">
 | 
			
		||||
      </div> -->
 | 
			
		||||
      <p class="dap-centered-text dap-normal-text almost-done-text">Almost done. Now it’s time to set your preferences.</p>
 | 
			
		||||
      <p class="dap-centered-text dap-normal-text almost-done-text">Almost done. Now it's time to set your preferences.</p>
 | 
			
		||||
      <br>
 | 
			
		||||
 | 
			
		||||
      <form class="js-authorization-decision" action="#">
 | 
			
		||||
@ -151,5 +151,5 @@
 | 
			
		||||
    <script src="./js/issuer.js"></script>
 | 
			
		||||
    <script src="./js/script.js"></script>
 | 
			
		||||
 | 
			
		||||
    </body>
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										12
									
								
								js/issuer.js
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								js/issuer.js
									
									
									
									
									
								
							@ -91,6 +91,7 @@ $(function () {
 | 
			
		||||
 | 
			
		||||
    // TODO put in directives.json or similar
 | 
			
		||||
    var grantDescriptions = {
 | 
			
		||||
      // deprecated
 | 
			
		||||
      'oauth3_authn': "Basic secure authentication"
 | 
			
		||||
    , 'wallet': "Access to payments and subscriptions"
 | 
			
		||||
    , 'bucket': "Access to file storage"
 | 
			
		||||
@ -99,6 +100,17 @@ $(function () {
 | 
			
		||||
    , 'domains:glue': "Glue Record management (for vanity nameservers)"
 | 
			
		||||
    , 'domains:ns': "Name Server management"
 | 
			
		||||
    , 'dns': "DNS records (A/AAAA, TXT, SRV, MX, etc)"
 | 
			
		||||
 | 
			
		||||
      // new
 | 
			
		||||
    , 'hello@example.com': "Hello World Example Access"
 | 
			
		||||
    , 'authn@oauth3.org': "Basic secure authentication"
 | 
			
		||||
    , 'wallet@oauth3.org': "Access to payments and subscriptions"
 | 
			
		||||
    , 'bucket@oauth3.org': "Access to file storage"
 | 
			
		||||
    , 'db@oauth3.org': "Access to app data"
 | 
			
		||||
    , 'domains@oauth3.org': "Domain registration (and Glue and NS records)" // TODO make an alias
 | 
			
		||||
    , 'domains:glue@oauth3.org': "Glue Record management (for vanity nameservers)"
 | 
			
		||||
    , 'domains:ns@oauth3.org': "Name Server management"
 | 
			
		||||
    , 'dns@oauth3.org': "DNS records (A/AAAA, TXT, SRV, MX, etc)"
 | 
			
		||||
    , '*': "FULL ACCOUNT ACCESS"
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user