You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
Due to the oauth handshake process, the login process goes through several steps.
The first time it's ok.
However, now every time I want to login I need to authorize the app again.
And when I want to switch the user, I need to click "Authorize" first and then click "Switch user" on the second page.
We should look into ways to simplify the flow.
Maybe if we already had a logged in user we could directly redirect to the OC server's authorize page where the user can be switched ? Or have a dialog like Google that shows the last logged in user (or the one currently logged in on the server, if we can know) with a button "Log in as XYZ" and another one "Login as someone else".
We use implicit flow at the moment which returns No refresh token by design.
With auth code flow we will get a refresh token and there is no need to rerun the auth process then as long as the refresh token is valid.
This will require to add pkce to the oauth App. There is already a Ticket für this.
Regarding the Switch user screen.: As long as we so Not Support the logout Mechanism(which is Part of openidconnect) we need to keep this screen because this is the only was to really loggout
With #7072 being merged we finally switch over to using PKCE in web as well. Regarding the user switch and already on web current master, without the mentioned PR:
the logout in web now calls the oc10 logout url after removing the user from the browser session. i.e. logout actually logs out of oc10 entirely
web can be defined as trusted client, so that the authorize page doesn't appear anymore at all.
Considering this ticket as done if no one speaks up.
Activity
DeepDiver1975 commentedon Sep 24, 2019
We use implicit flow at the moment which returns No refresh token by design.
With auth code flow we will get a refresh token and there is no need to rerun the auth process then as long as the refresh token is valid.
This will require to add pkce to the oauth App. There is already a Ticket für this.
DeepDiver1975 commentedon Sep 24, 2019
Regarding the Switch user screen.: As long as we so Not Support the logout Mechanism(which is Part of openidconnect) we need to keep this screen because this is the only was to really loggout
PVince81 commentedon Sep 24, 2019
Nice, here's the PKCE ticket: #511
PVince81 commentedon Sep 26, 2019
@pmaier1 @michaelstingl as discussed I'm moving this into M1 scope as it is scary for a first impression of Phoenix
PVince81 commentedon Sep 26, 2019
Effort for the PKCE was estimated to 5d
kulmann commentedon Jul 6, 2022
With #7072 being merged we finally switch over to using PKCE in web as well. Regarding the user switch and already on web current master, without the mentioned PR:
Considering this ticket as done if no one speaks up.