# \#ruby

**URL:** https://devforum.okta.com/tag/ruby/12.md

[Latest](https://devforum.okta.com/latest.md) · [Categories](https://devforum.okta.com/categories.md) · [Tags](https://devforum.okta.com/tags.md)

---

## [Syncing Rails Session with Okta OAuth Session](https://devforum.okta.com/t/syncing-rails-session-with-okta-oauth-session/30139)

<div class="topic-metadata">

**Author:** [@budoboy](https://devforum.okta.com/u/budoboy)\
**Replies:** 0\
**Last updated:** [August 21, 2024, 3:46am UTC](https://devforum.okta.com/t/syncing-rails-session-with-okta-oauth-session/30139 "2024-08-21T03:46:06Z")

</div>

We have a Ruby on Rails application with a homegrown authentication/authorization mechanism (i.e. not using Devise). I have configured omniauth-okta and can log in to the application perfectly fine using Okta OAuth. No…

---

## [Help with "Invalid session error" using Oktakit's add\_user\_to\_group and remove\_user\_from\_group methods](https://devforum.okta.com/t/help-with-invalid-session-error-using-oktakits-add-user-to-group-and-remove-user-from-group-methods/30125)

<div class="topic-metadata">

**Author:** [@AhmadAbelAziz](https://devforum.okta.com/u/AhmadAbelAziz)\
**Replies:** 3\
**Last updated:** [August 20, 2024, 4:36pm UTC](https://devforum.okta.com/t/help-with-invalid-session-error-using-oktakits-add-user-to-group-and-remove-user-from-group-methods/30125 "2024-08-20T16:36:08Z")

</div>

Hi everyone, I’m currently facing an issue with the Oktakit gem when trying to add or remove a user from a group using the add\_user\_to\_group and remove\_user\_from\_group methods. Here’s the implementation for add\_user\_to\_…

---

## [SSO With Devise / Ruby on Rails](https://devforum.okta.com/t/sso-with-devise-ruby-on-rails/586)

<div class="topic-metadata">

**Author:** [@thenapking](https://devforum.okta.com/u/thenapking)\
**Replies:** 15\
**Last updated:** [April 14, 2019, 7:40pm UTC](https://devforum.okta.com/t/sso-with-devise-ruby-on-rails/586 "2019-04-14T19:40:47Z")

</div>

I have an existing application which uses the Devise gem to allow people to login. I’ve installed the additional gem devise\_saml\_authenticatable and followed the setup instructions here. When authenticating through Okta…
