Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

[WIP] OIDC: Login #11093

Closed
wants to merge 86 commits into from
Closed

Conversation

kerryarchibald
Copy link
Contributor

@kerryarchibald kerryarchibald commented Jun 15, 2023

For element-hq/element-web#25657
With matrix-org/matrix-js-sdk#3499
With matrix-org/matrix-js-sdk#3531

Screen.Recording.2023-06-23.at.15.54.49.mov

3.1.1. Authorization Code Flow Steps

1. Client prepares an Authentication Request containing the desired request parameters.
2. Client sends the request to the Authorization Server.
3. Authorization Server Authenticates the End-User.
4. Authorization Server obtains End-User Consent/Authorization.
5. Authorization Server sends the End-User back to the Client with an Authorization Code.
6. Client requests a response using the Authorization Code at the Token Endpoint.
7. Client receives a response that contains an ID Token and Access Token in the response body.
8. Client validates the ID token and retrieves the End-User's Subject Identifier.

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

Here's what your changelog entry will look like:

✨ Features

Kerry Archibald added 29 commits June 7, 2023 17:23
Base automatically changed from kerry/25574/oidc-authorization-endpoint to develop June 28, 2023 21:52
@kerryarchibald kerryarchibald changed the base branch from develop to kerry/25574/token-login-refactor June 29, 2023 02:15
Base automatically changed from kerry/25574/token-login-refactor to develop June 29, 2023 22:57
@kerryarchibald
Copy link
Contributor Author

Replaced by matrix-org/matrix-js-sdk#3554

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, performance boosts, user-facing improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant