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

Replace final-redirect-url with juju-dashboard-location #46

Merged

Conversation

babakks
Copy link
Member

@babakks babakks commented May 29, 2024

This PR replaces the reference to final-redirect-url config option, with juju-dashboard-location. This is a follow-up to canonical/jimm#1217.

Fixes CSS-8764

@babakks babakks force-pushed the css-8764/remove-dashboard-redirect-uri-references branch from 4ac1244 to 3cd7c7d Compare May 29, 2024 11:54
Copy link
Contributor

@kian99 kian99 left a comment

Choose a reason for hiding this comment

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

Can we

# A final redirect URL for login, normally set to the URL of the Juju dashboard.
juju config jimm final-redirect-url="http://test-jimm.localhost/auth/whoami"

Optionally, if you have deployed Juju Dashboard, you can configure JIMM to enable browser flow for authentication:
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's tweak this slightly for the purposes of the tutorial so that the dashboard location is still configured so that the user can still test the browser flow. What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, sure. I'll set it with the same /auth/whoami we had, but will point out that this should be replaced with dashboard URL.

@babakks babakks requested review from kian99 and alesstimec May 30, 2024 10:30
@babakks babakks merged commit f24f92c into canonical:v3 May 30, 2024
2 checks passed
@babakks babakks deleted the css-8764/remove-dashboard-redirect-uri-references branch May 30, 2024 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants