authgear / authgear-server

Open source alternative to Auth0 / Firebase Auth
https://www.authgear.com
Apache License 2.0
83 stars 37 forks source link

[Pitch] OIDC Client Application #2410

Open fungc-io opened 2 years ago

fungc-io commented 2 years ago

Problem

To use Authgear in applications that already support OAuth login, such as Wordpress, CraftCMS. So they can use enjoy Authgear feature very easily, such as passkey, 2FA.

Appetite

Solution

We only using Authgear as 3rd party auth at this stage. i.e. adding Authgear to Wordpress is like adding Google login to an existing app. The session is managed by the app.

Design changes

Other Changes

Rabbit holes

Keep a list of problems the user may face if they uses Authgear as 1st party login. i.e. They use the OIDC client secret but not as SSO. They will be known issues but not considered in this pitch because they are not the intention of this feature.

No-goes

Tasks

carmenlau commented 2 years ago

Moved to the description

fungc-io commented 2 years ago

ref: #2428 @carmenlau Design in Figma: https://www.figma.com/file/msiE4O5imHONAG5EjhZeiZ/Authgear-UI?node-id=7631%3A113965

fungc-io commented 2 years ago

@carmenlau design is updated for larger screens

fungc-io commented 2 years ago

@carmenlau I've added 1 more item to the todo for "Set and Display Privacy Policy and T&C links for OIDC clients"

carmenlau commented 2 years ago

@louischan-oursky @fungc-io When I am writing the doc, I found that it would be easier for the users to follow if we mention the endpoints in the portal. I did the following adjustment, see if it makes sense.

For the third-party app, I removed the Endpoint field from the Basic Info and added Endpoints section.

Thought?

Screenshot 2022-10-06 at 5 18 48 pm
fungc-io commented 2 years ago

awesome, i like it. btw can we move "Consent Screen" to above "URIs"?

louischan-oursky commented 2 years ago

I prefer this order: configuration URI, authentication endpoint, token endpoint, userinfo endpoint, jwks endpoint

carmenlau commented 2 years ago

can we move "Consent Screen" to above "URIs"?

But "URIs" is the section they must edit to make the whole setup works, so I keep this order. Do you still want to change the order? I am okay with this:)

I prefer this order: configuration URI, authentication endpoint, token endpoint, userinfo endpoint, jwks endpoint

Adjusted accordingly!