In my rails application i am using oauth to get access to the user's
profile data. The thing is when the authorization login page pops up,
the user has to enter his username and password, which gets saved in
the browser as a cookie. Is there any way to DELETE this
cookie(obviously not manually)? I am asking this because when the
oauth page is called again, this cookie saved in my browser
automatically signs in the user. This has become a nuisance for my
project.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Dmlicht at Jan 17, 2012 at 1:42 pm
    Check out ActionDispatch::Cookies on http://api.rubyonrails.org/

    I think you'll want to use cookies.delete
    On Jan 16, 1:36 am, serpent403 wrote:
    In my rails application i am using oauth to get access to the user's
    profile data. The thing is when the authorization login page pops up,
    the user has to enter his username and password, which gets saved in
    the browser as a cookie. Is there any way to DELETE this
    cookie(obviously not manually)? I am asking this because when the
    oauth page is called again, this cookie saved in my browser
    automatically signs in the user. This has become a nuisance for my
    project.
    --
    You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
    To post to this group, send email to rubyonrails-talk@googlegroups.com.
    To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJan 16, '12 at 6:37a
activeJan 17, '12 at 1:42p
posts2
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Dmlicht: 1 post Serpent403: 1 post

People

Translate

site design / logo © 2022 Grokbase