mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-27 23:40:26 +01:00
added Instagram OAuth2 provider deprecation log
This commit is contained in:
1 parent
cbc88d7a01
commit
3786e0816d
1 file changed
+4
@@ -129,6 +129,10 @@ func (form *RecordOAuth2Login) Submit(
|
||||
return nil, nil, err
|
||||
}
|
||||
|
||||
if form.Provider == auth.NameInstagram {
|
||||
form.app.Logger().Warn("Instagram OAuth2 provider is deprecated and will stop working after December 4th. For more details please check https://github.com/pocketbase/pocketbase/discussions/5652.")
|
||||
}
|
||||
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
|
||||
defer cancel()
|
||||
|
||||
|
||||
Reference in new issue
Block a user