Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove skip-provider-button flag from oauth configs #149

Conversation

atheo89
Copy link
Member

@atheo89 atheo89 commented Jul 31, 2023

This PR resolves the #109 issue of encountering an "infinite" login screen following the redirection of the unauthorized 403 page, as illustrated in the .gif below.

login-page-stuck

By removing the --skip-provider-button from the OAuth configurations. Consequently, after the redirection, users are able to be directed to the desired route path of the notebook.

https://jupyter-nb-ldap-2dadmin1-rhods-notebooks.apps.atheo1.7ojc.s1.devshift.org

However, on the route is missing /notebook/${nb_namespace}/${nb_name} suffix, which is added by the dashboard when a user access a notebook from the dashboard.

The route is unable to redirect from / -> /notebook/${nb_namespace}/${nb_name}, resulting in users encountering the JupyterLab 404 page, as shown below. Therefore, the user needs to manually press the Jupyter icon to be redirected to their notebook.

A separate issue is tracking the work for the redirection #150

Screenshot from 2023-07-31 17-51-48

Merge criteria:

  • The commits are squashed in a cohesive manner and have meaningful messages.
  • Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
  • The developer has manually tested the changes and verified that the changes work

@atheo89 atheo89 force-pushed the remove-skip-provider-button-from-oauth branch from 90cb257 to fb769e5 Compare July 31, 2023 15:16
@atheo89 atheo89 changed the title [WIP] Remove skip-provider-button flag from oauth configs Remove skip-provider-button flag from oauth configs Jul 31, 2023
@atheo89
Copy link
Member Author

atheo89 commented Aug 1, 2023

/cc @harshad16
/uncc @LaVLaS

Copy link
Member

@harshad16 harshad16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

thanks 💯

@openshift-ci
Copy link

openshift-ci bot commented Aug 1, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: harshad16

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Aug 1, 2023
@harshad16 harshad16 merged commit 4c5c086 into opendatahub-io:v1.7-branch Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants