-
Notifications
You must be signed in to change notification settings - Fork 0
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
Getting an extra cas ticket that we could theoretically pass along to mediaflux #875
base: main
Are you sure you want to change the base?
Conversation
86f8a23
to
f44b314
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, Thanks @carolyncole
mediaflux_passthru_path | ||
# "/users/#{@user.id}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comment
msg = "This is the URL that we could pass throug to mediaflux for them to validate the user who is logged in" | ||
msg += "It is only valid for 5 seconds " | ||
msg += view_context.link_to("ticket validation", session[:cas_validation_url] + ticket) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is easy to follow along with
session[:cas_login_url] = strategy.login_url(service_url) | ||
session[:cas_validation_url] = strategy.service_validate_url(service_url, "") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏿
get "mediaflux_extra", to: "users/mediaflux_callbacks#cas", as: :mediaflux_extra | ||
get "mediaflux_passthru", to: "users/mediaflux_callbacks#passthru", as: :mediaflux_passthru |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🏿
f44b314
to
5fca65d
Compare
5fca65d
to
9af1944
Compare
@carolyncole FYI -- I updated your branch with the updated user list that Matt posted on #1020 to include Jason Lohrey (from Arcitecta) and deployed this new version to staging. Jason is now a valid user in staging. |
e76c374
to
a03b987
Compare
refs #868
Adds another call to cas and a link