mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 12:38:02 +08:00
![Michael Kirk](/assets/img/avatar_default.png)
See https://github.com/michaelkirk/discourse_oauth2_example for an example of how you might integrate your existing oauth2 provider's authentication via a Discourse plugin.
5 lines
66 B
Ruby
5 lines
66 B
Ruby
class Oauth2UserInfo < ActiveRecord::Base
|
|
belongs_to :user
|
|
|
|
end
|