jaxoncreed
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    ## Resource Server Token Use Cases - https://github.com/solid/authentication-panel/pull/19 - zenomt: Solid uses PoP Tokens as bearer tokens, neither OP or app itself has standing to issue access tokens, authorizaton server of the resource server should do that. - Resource token wants to control it's own refresh tokens - Resource server wants to control the validity period of its access tokens - A resource server might not want to remember a token for an arbitrarily long amount of time - The resource server wants to issue its own access token to allow for custom implementations that cater to the server's need - elf-pavlil: can public client (presenter) running in a browser resuse the same ID Token and PoP Token to exchange it for access token? - zenomnt: it can reuse ID Token but would have to issue new PoP Token based on new nonce provied by authorization server - Jackson: was there still a notion that there is a security hole in that the client and the server being in collusion would allow you to mock a token. - No, that's more of an act of life. ## Resource Server Authentication - Justin Richer: I had a lot of the same problems with the existing standard. Aproach to a solution was a bit different: - I had an issue with sending an id_token to another party. That should never happen in Open ID connect. id tokens live for a matter of seconds. - Took issue with the notion of the client pretending to create its own access token. My approach would use DPoP. The client is able to take that access token and present it to resource servers. - It's different from the current approach because you're presenting the access token in any structure as long as the RS can properly read it. - I'm proposing that the access token itself has a specific format and uses webIds to define token issuers. - The RS looks inside the access token and validates that the token itself is from an access server it trusts. - Justin Richer: Understand and follow the arguments for why you would have a closely tied auth server to the resource server: - But the proposed approach doesn't change the security or trust model. - At any time the client could show up with a new token and present it to get a new token. - If we're not trusting the server then we shouldn't be issuing access tokens anyway. It's pretty much the same as accepting an access token with more steps. - As far as performance and validation, that can be very easily handled with validation caches. You agressively cache for a short window and recheck later when you see a presentation of the access token. - In terms of interop with legacy systems: The idea would be to use a bridge or broker infrastructure. You would have a gateway application do the validation and exchange it with a local legacy auth server. - Michael: I'd like to see something written up in studyable detail. - Justin Richer: I've made a detailed write-up. We want to write things down in a more normative structure. That has not been done yet. - Justin: we can take the write up that Justin referenced as a proposal approach. - elf-pavlk: how does it work with 'local clients' - just in browser app or native app, 'remote clients' - bot etc. and hybrid cases - Justin: DPoP addressess it very well... I'm not agains dynamic client registration ... - zenomt: Dynamic client registration only happens currently between app in the browser and user's OP. In my proposal I also don't require new client registration with resource's server associated authorization server. - Justin: I had throught that it was going to do a dynamic registration - Michael: The difference between the solid PoP token scheme is there is a process for getting an access token that is optimal for that resource server and has a cryptographic challenge for the resource server. - Justin: There's a couple of missing pieces: how does the client auth itself to the downstream authentication server. Also I was assuming it would be done as an OAuth extention point. So you're not talking to an OAuth endpoint? - Michael: You're talking to a resource server's endpoint that returns something that looks like an OAuth but it's its own proprietary separate protocol. - elf: In Michael's proposal it would keep the user associated IDP. And I noticed Justin mentioning a client associated authentication server. I didn't get that part - Justin: What I'm calling Client associated and user associated are the same thing ## HTTP Signatures Initial Proposal - [Pull Request 20](https://github.com/solid/authentication-panel/pull/20) on initial Http-Signature for Solid Protocol, [best viewed here](https://github.com/solid/authentication-panel/blob/b3f58eb30f40f2a3005e61a9d2de93157038a574/HttpSignature.md). - This was discussed during the authorization panel last Wednesday, with Elf and Michael present: [meeting notes left on HackMD](https://hackmd.io/bvw37jzHSRiA35TWrKBF3A) - bblfish: describes HTTP-Signature as * a version of WebID-TLS without the disadvantages of TLS breaking HTTP boundaries and so better designed for HTTP2.0 * with more support that [WebID-RSA](https://github.com/solid/solid/blob/master/proposals/auth-webid-rsa.md) used in Solid (?), as it has a bigger community of implementors (need to ask Manu Sporny about the current situation). * Not built into the browser UI as TLS-Client Auth, but with JS Web-Crypto. Still one can build a good client library to make development easier. - Justin: What is the difference with [OIDC self-issued](https://github.com/solid/authentication-panel/issues/11)? It was designed to hosting OP on your local device which you cary it with you, not accessible with public HTTP - ...: HTTP Signatures has its own version used by Amazon, I wrote somthing similar for OAuth, draft Henry refers to currently doesn't stay in any active standard group. - DPoP signatures, HTTP Signatures, xyz etc. have a lot of similarities. Differences come in details, for example signing HTTP has a lot of challenges, many systems can accidentally break signatures. - zenomt: besides on device cases self-issued also looks promissing for bots, it doesn't require all the discovery files to pretend being OP.

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully