mirror of
https://github.com/warmbly/warmbly.git
synced 2026-09-05 16:02:48 +00:00
14 lines
505 B
Go
14 lines
505 B
Go
package models
|
|
|
|
// ExternalAuthProviders is what GET /auth/providers advertises so one shipped
|
|
// native app binary can discover which social sign-in options a (self-)hosted
|
|
// backend supports. Client IDs here are public identifiers, not secrets.
|
|
//
|
|
// Browser social sign-in is separate and lives behind GET /auth/config: that
|
|
// flow runs server-side, so the dashboard needs the button list, not a client
|
|
// id.
|
|
type ExternalAuthProviders struct {
|
|
AppleBundleID string
|
|
GoogleIOSClientID string
|
|
}
|