sciencehistory / scihist_digicoll

Science History Institute Digital Collections
Other
13 stars 0 forks source link

Microsoft SSO ( keywords Entra / Azure / OmniAuth / Oauth ) #2769

Closed eddierubeiz closed 1 week ago

eddierubeiz commented 4 weeks ago

Ref #2564 We want to make sure we get @Gabz73 's blessing before merging it. General documentation is in the wiki; feel free to append or emend.

Changes to routes

Because we may need to redirect users to the logout page, we replaced the old delete 'logout' route with a get 'logout'. If Microsoft SSO is turned on:

Changes to env.rb anddevise

Controllers

Other changes

Notes on logout

Currently, clicking on any of the logout buttons:

jrochkind commented 1 week ago

Looks pretty great overall, thanks!

A few comments, some of them are questions for discusisons, I'm not sure if they need to be done or not just bringing it up to see what you think.

Can you link to wiki page to make it easier for me to find and review? Thanks!

eddierubeiz commented 1 week ago

Wiki notes are at: https://sciencehistory.atlassian.net/wiki/spaces/HDC/pages/1915748368/Heroku+Operational+Components+Overview#Microsoft-SSO .

jrochkind commented 1 week ago

Wiki looks good I think, but what do you think about putting it on it's own wiki page, and link to it from the heroku page?

It's kind of lengthy content, that could get lengthier if we need more notes, and isn't really about our heroku deployment.

I also wonder if you want to note that Entra registrations are tied to hostnames, so if we add/change a hostname they need to be edited?

Also -- can you add back to README the rake tasks for creating users with passwords, that we'll want in development environments?

eddierubeiz commented 1 week ago