<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Evan Smith on Medium]]></title>
        <description><![CDATA[Stories by Evan Smith on Medium]]></description>
        <link>https://medium.com/@esmith_missiondata?source=rss-e5326e2ad3c8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-ZmMi4sOY0DM6MdwvI-AcA.jpeg</url>
            <title>Stories by Evan Smith on Medium</title>
            <link>https://medium.com/@esmith_missiondata?source=rss-e5326e2ad3c8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:15:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@esmith_missiondata/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What we’ve learned leading an internship in the remote-work era]]></title>
            <link>https://medium.com/mission-data-journal/what-weve-learned-leading-an-internship-in-the-remote-work-era-28c1639a4028?source=rss-e5326e2ad3c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/28c1639a4028</guid>
            <category><![CDATA[employee-engagement]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[strategy]]></category>
            <dc:creator><![CDATA[Evan Smith]]></dc:creator>
            <pubDate>Tue, 28 Jun 2022 20:32:04 GMT</pubDate>
            <atom:updated>2022-10-31T15:58:37.538Z</atom:updated>
            <content:encoded><![CDATA[<p><em>This article was co-authored with</em> <a href="https://medium.com/@nathan4u">Nathan Smith</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*f3PWxo3-tQzmBYBMOOcvFw.png" /></figure><p>Every summer Mission Data hosts software development interns to work alongside our development team. In recent years our interns have hailed from schools like George Washington University, Johns Hopkins University, and George Mason University. When the COVID-19 Pandemic began, we had to shift our internship to be fully remote, and as we enter our third summer of fully remote internships, we have learned quite a bit about how best to structure this remote experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*A_CbnuIoEq9oKtyu.gif" /></figure><p>2020 was our first summer doing this, and we tried to make the internship as close to an in-person experience as possible. We collaborated closely on Slack, held Friday afternoon Happy Hours, and started a weekly Lunch and Learn program. Early on, the interns collaborated on <a href="https://www.opsense.com/">OpSense</a> projects. Towards the end of the internship, they got to experience client work, assisting our developers in optimizing a legacy site that was in dire need of a tune-up. As the internship came to a close our interns presented their own Lunch and Learn, summarizing the projects and technologies they’d worked with that summer.</p><p>While this first remote internship went well overall, and one of our interns even opted to join the company the following year, it still felt like a demo run with a number of areas to improve. The OpSense projects our interns worked on were somewhat isolated from the other client projects our teams were developing. Additionally, our traditional onboarding process focused on Ruby on Rails with a segment covering React, while the OpSense tech stack featured a Spring back-end. By the time the interns returned to our Rails-focused projects, a lot of the initial onboarding info had faded, and while they did get to work on optimizing queries across our projects, they didn’t have the opportunity to work directly with our clients on issues that leveraged the front-end knowledge they’d built while working on OpSense.</p><p>By the summer of 2021, we had more time to prepare for a fully remote internship. With feedback from the interns in 2020, we learned what worked best and what didn’t. We expanded our company wiki to include more training resources to give the interns a more solid foundation of knowledge when starting out. The interns got the opportunity to work together on internal labs projects, and then presented their findings in a Lunch and Learn, as well as a two-part blog post (linked below). The interns also got more hands-on experience with our client projects, fully assisting our developers in deploying code that is helping our clients to this day.</p><pre><strong>← Intern Articles resulting from our 2021 summer program:</strong><br>• <a href="https://blog.missiondata.com/lab-chatbot-using-watson-assistant/">Lab Notes: Creating a basic chatbot using Watson Assistant</a><br>• <a href="https://blog.missiondata.com/labs-slack-integration-and-watson-discovery/">Lab Notes: Slack integration and the inclusion of Watson Discovery</a></pre><p>2021 felt like a clear step forward in structuring our internship and giving the interns a better sense of what day-to-day full-stack development is like, which had been a core piece of feedback we’d received for many years. One similar piece of critical feedback returned — while working on the research-based labs projects, the interns spent enough time away from Rails to forget some of what they’d learned, and they experienced some whiplash when returning to our client projects after a number of weeks away.</p><p>Moving into 2022, we’ve made a number of updates to our approach, aiming for the most productive and seamless remote internship yet. We consulted with other members of the team much earlier about research projects the interns could get involved with and planned out a rough schedule to ensure that their training throughout the summer continues to build on itself. We also reorganized our internal training resources into a company-wide Google Drive, containing past company talks and slideshows, as well as helpful links to training resources and tutorials. Finally, we began doing morning slack stand-ups, providing the interns with a structured time to discuss any issues they might face. While we’ve always done our best to be quick and responsive to intern questions throughout the summer, this scheduled time ensured that the interns and coordinators are all informed and able to work together with a call or screen share, strengthening the internship’s collaborative environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*QnHrDkZQNrsNK_5e.gif" /></figure><p>As summer 2022 began we compiled all of the feedback we’ve received from the past two years and developed a list of helpful tips to create a successful and fulfilling remote internship.</p><ol><li><strong>Make sure that the interns feel fully connected to the company. </strong>We accomplished this by doing daily slack stand-ups, organizing Zoom Happy Hours, presenting Lunch and Learns, and introducing the interns to client work that our full-time development team was working on. In addition, we found that pairing the interns together on projects helped them succeed individually because there was always someone to reach out to.</li><li><strong>Give a clear sense of what it’s like to work at your company full-time. </strong>Reworking our internship program to be more aligned with our everyday client work has had a big impact on interns choosing to join the company the following year. While side projects and research tasks can be exciting, they’re just another summer project unless you clearly link that work to the rest of your company. While meeting people at the company can make interns feel like part of the team, there’s nothing better than getting to collaborate and learn directly with full-time employees on something that will be released to users. We’ve received a lot of feedback from previous interns that the practical experience from the internship fills a gap in development that most schools do not offer.</li><li><strong>Ask the interns what their goals are for the summer and work to tailor the internship experience toward those goals.</strong> We know that the interns are here to experience real-world software development, but everyone has their own personal goals. If an intern wants to experience the full development life cycle of a project, make sure they join client meetings and see how we move issues through GitLab. If they want to learn a certain language outside of our tech stack, the labs projects are the perfect opportunity for them to both learn a new technology and to share what they learned with the company.</li><li><strong>Prepare an engaging training program, and plan your projects to build on one another. </strong>With the way our company operates, it can sometimes be a mystery what projects our interns will be involved with during the summer. It’s important to plot out a rough course of how the summer will go, and tailor the beginning weeks of the internship to introduce the interns to core technologies they’ll continue to work with throughout the summer. Over the years, we’ve developed a training program that begins with learning Ruby and Javascript by building up a project using the Sinatra framework. After developing a foundation in how web applications work, we introduce the interns to Ruby on Rails and React and help them to build their own personal project that they can show off on their Github. This then flows directly into a tour of some of our legacy applications that use these same stacks. We like to focus on tasks that only involve narrow slices of the application, so the interns can apply their new development skills without getting overwhelmed by jumping into a new codebase.</li><li><strong>Make sure there is a dedicated internship coordinator who can help them navigate the company.</strong> It can be intimidating being an intern. Having a dedicated coordinator can help onboard the interns and serve as a helpful resource that can answer any questions they have. The internship coordinator can help them get set up in Slack, GitLab, and introduce them to who works on which projects and who could be a good resource for whatever they’re working on. Also, it’s always good to have a dedicated person to talk to in case any issues arise.</li></ol><h3>Final Thoughts</h3><p>As we move through the summer, we’ll continue to work along with our interns to create the optimal remote internship experience. We know that there is a challenge when we can’t work together in person, but we hope to continually refine the process so our interns don’t feel like they lose out by not working in person.</p><figure><a href="https://cta-redirect.hubspot.com/cta/redirect/2399711/2c85370d-6a82-4f11-aee4-b5d3a2964e61"><img alt="Teaser graphic with text that states “Turn your visions into real digital solutions.”" src="https://cdn-images-1.medium.com/max/1024/1*v7WvulucBnqVwh-vF6reLQ.jpeg" /></a></figure><h3>About Mission Data</h3><p>We’re designers, engineers, and strategists building innovative digital products that transform the way companies do business. Learn more: <a href="https://www.missiondata.com/">https://www.missiondata.com</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=28c1639a4028" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/what-weve-learned-leading-an-internship-in-the-remote-work-era-28c1639a4028">What we’ve learned leading an internship in the remote-work era</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamic SAML idP Provisioning for SaaS Rails Apps]]></title>
            <link>https://medium.com/mission-data-journal/dynamic-saml-idp-provisioning-for-saas-rails-apps-ea8eef3b3573?source=rss-e5326e2ad3c8------2</link>
            <guid isPermaLink="false">https://medium.com/p/ea8eef3b3573</guid>
            <category><![CDATA[idp]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[aml]]></category>
            <category><![CDATA[devise]]></category>
            <category><![CDATA[sso]]></category>
            <dc:creator><![CDATA[Evan Smith]]></dc:creator>
            <pubDate>Wed, 21 Apr 2021 23:00:40 GMT</pubDate>
            <atom:updated>2021-04-22T11:56:47.526Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BOPi79ThDLb-KHuWMhLNkw.png" /></figure><p>A client came to us with a request to integrate Single Sign On (SSO) into their already existing web application with Security Assertion Markup Language (SAML). Our client has a SaaS application where they provide services to the manufacturing process labs of petroleum products providers, using a default authentication scheme provided by <a href="https://github.com/heartcombo/devise">Devise</a>. Some of these labs began to request the ability to authenticate their own credentials using SSO for both security and convenience.</p><p>SSO is useful because it allows an Identity Provider (idP) like Google Workspace idP, Microsoft Azure Active Directory, or Okta to authenticate a user trying to access a web application instead of the web application handling authentication itself. A normal SSO flow would look like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bHxKZbA847uxAtfw.png" /></figure><p>Integrating SSO would be a straightforward task if not for the caveat that each of our client’s customers could in theory have a different idP that they use to authenticate their users. Each different idP would have different settings needed to authenticate their users. Most SAML configurations we researched for integrating into Rails applications had their idP setup credentials and settings hard coded into a config file with the expectation that only a static number of idP’s would need to be used. For our purposes we needed to:</p><ol><li>Support one independent idP per lab and allow idP credentials to be entered by our client or our client’s labs through the web application, and save those credentials in our database.</li><li>Dynamically evaluate the users logging in at runtime and direct them to their idP based on the lab they belonged to. Then receive the SAML authentication and log them into the application. If the users did not opt-in to use SSO with SAML we would authenticate them through the application as we have been. An example of our desired scheme is pictured below:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HAaWUFUwsF2eWZxl.png" /></figure><p>After researching we decided to use the <a href="https://github.com/apokalipto/devise_saml_authenticatable">Devise SAML Authenticatable</a> gem as our jumping-off point. It would integrate with our current Devise setup and we would only need to override a few configurations.</p><h3>Step 1</h3><p>During authentication, the idP returns an assertion (formatted as an XML document) which provides the status of the authenticated user. We found that the following three fields are always returned and will vary between idPs</p><ol><li>idP Certificate (idp_cert)</li><li>idP Entity ID (idp_entity_id)</li><li>idP SSO Target Url (idp_sso_target_url).</li></ol><p>We added these fields to our labs database table, along with a boolean active_saml attribute and a defaulted authn_context field that certain idP’s require. To make things simple for the users we made it so that the three fields listed above are the only fields that they are required to include on their lab’s setup page. They’ll activate SAML for their lab by checking a box (connected to active_saml) and populating all three fields. To deactivate SAML they simply uncheck the box.</p><h3>Step 2</h3><p>To set up the actual SAML connections, we first followed the initial steps in the devise_saml_authenticatable gem. This included modifying our Devise initializer in config/initializers/devise.rb to include the defaults listed in the gem and creating an attribute map at config/attribute-map.yml to map to the email attribute that we have on the users database table:</p><p>&quot;urn:mace:dir:attribute-def:email&quot;: &quot;email&quot;</p><p>Next, we had to point our login to a new authentication path. Once we verified the email and the lab that the user belonged to, if that lab had checked the active_saml attribute, we redirected to devise_saml_authenticatable’s default path, passing a lab_id in the parameters. From there, the gem works its way to the <a href="https://github.com/apokalipto/devise_saml_authenticatable/blob/master/lib/devise_saml_authenticatable/default_idp_entity_id_reader.rb">Devise Entity Reader</a> and the Devise Settings Adapter. These are both options in the Devise initializer, and here is where we had to start customizing.</p><p>We added a module called SamlAuth with two classes inside: SamlEntityFinder and SamlAuth. The Entity Reader, linked above, was derived from devise_saml_authenticatable’s gem, but we added some customization. The settings adapter we created based on this comment in the Devise initializer:</p><blockquote>You can support multiple idPs by setting this value to the name of a class that implements a ::settings method which takes an idP entity id as an argument and returns a hash of idP settings for the corresponding idP.</blockquote><p>Starting with the Entity Reader, when the lab_id is passed, if it is present, we know that we are currently sending a request for authentication. We pass the lab_id and an override variable in place of an idp_entity_id to the settings method. If the lab is found by the lab_id, we create a settings object containing idp_entity_id, idp_sso_target_url,idp_cert, and the defaulted authn_context. Upon getting a response, the Entity Reader is called again but this time we are looking for the SAMLResponse. We proceed here as the devise_saml_authenticatable gem had defined, and allow the Lab to be found by the actual idp_entity_id instead of our overridden object from before. From here, we allow the gem to work as intended, logging our user in with our SAML credentials authenticated at runtime.</p><pre>module SamlAuth<br> class SamlEntityFinder<br>  def self.entity_id(params)<br>   if params[:lab_id]<br>    {<br>     lab_override: true, lab_id: params[:lab_id]<br>    }<br>   elsif params[:SAMLResponse]<br>    {<br>     lab_override: false, entity_id: <br>      OneLogin::RubySaml::Response.new(<br>       params[:SAMLResponse],<br>       settings: Devise.saml_config, <br>       allowed_clock_drift: Devise.allowed_clock_drift_in_seconds,<br>      ).issuers.first<br>    }<br>   end<br>  end<br> end<br> <br> class SamlAuth<br>  def self.settings(idp_entity_id)<br>   lab = idp_entity_id[:lab_override].present? ?<br>    Lab.find(idp_entity_id[:lab_id]) :<br>    Lab.find_by_idp_entity_id(idp_entity_id[:entity_id])<br>   if lab <br>    {<br>     idp_entity_id: lab.idp_entity_id,<br>     authn_context: lab.authn_context,<br>     idp_sso_target_url: lab.idp_sso_target_url,<br>     idp_cert: lab.idp_cert<br>    }<br>   else <br>    {}<br>   end<br>  end<br> end<br>end</pre><p>After development there were a few more steps to take. We tested users through Google WorkSpace idP and our client’s Azure Active Directory. Afterward, we put together a document that our client could distribute to their labs that would detail exactly how to set up SAML on their end and how to connect it to our client’s application. We are happy to report that this new authentication scheme has already been adopted by many of our client’s customers’ labs and they’ve been able to set it up seamlessly, without having to contact either the client or us.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ea8eef3b3573" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mission-data-journal/dynamic-saml-idp-provisioning-for-saas-rails-apps-ea8eef3b3573">Dynamic SAML idP Provisioning for SaaS Rails Apps</a> was originally published in <a href="https://medium.com/mission-data-journal">Mission Data Journal</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>