Skip to content

Consider switching sample repo to 'Authorization Code with PKCE' flow #24

@jeroenheijmans

Description

@jeroenheijmans

The relevant working groups have updated the advice for single page applications (such as this one, which uses Angular) around the recommended flow. Latest recommendation seems to be that SPA's should switch from "Implicit Flow" to the "Authorization Code with PKCE" flow.

After several different feature requests it was recently released in version 8.

I'm not sure how exactly yet, but I would like my sample repository to somehow support showcasing Code+PKCE flow. However, many people will still want to be using Implicit flow, and it seems awkward to support both.

Some ideas how this repo could support both:

  1. Have both options in master and provide a way to toggle between the two.
  2. Have Code+PKCE as the 'primary' option in master, and refer to an older commit if folks want to see Implicit Flow in action.
  3. Have a branch for Code+PKCE for now, and leave master at Implicit (perhaps with a readme update pointing to the branch). Then later switch them around (effectively going back to option 2).

I think option 3 will have to do for the moment, as we'll need a place to start anyways.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequest for improvement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions